cvs: phpdoc-es /reference/domxml/functions DomXsltStylesheet-process.xml DomXsltStylesheet-result-dump-file.xml DomXsltStylesheet-result-dump-mem.xml
domxml-new-doc.xml domxml-open-file.xml domxml-open-mem.xml domxml-version.xml domxml-xmltree.xml domxml-xslt-stylesheet-doc.xml
domxml-xslt-stylesheet-file.xml domxml-xslt-stylesheet.xml xpath-eval-expression.xml xpath-eval.xml xpath-new-context.xml xptr-eval.xml
xptr-new-context.xml /reference/filesystem/functions file.xml fileatime.xml filectime.xml filegroup.xml fileinode.xml filemtime.xml
| From: | Leonardo Boshell | Date: | Wed, 23 Jun 2004 18:41:20 +0000 |
| Subject: | cvs: phpdoc-es /reference/domxml/functions DomXsltStylesheet-process.xml DomXsltStylesheet-result-dump-file.xml DomXsltStylesheet-result-dump-mem.xml domxml-new-doc.xml domxml-open-file.xml domxml-open-mem.xml domxml-version.xml domxml-xmltree.xml domxml-xslt-stylesheet-doc.xml domxml-xslt-stylesheet-file.xml domxml-xslt-stylesheet.xml xpath-eval-expression.xml xpath-eval.xml xpath-new-context.xml xptr-eval.xml xptr-new-context.xml /reference/filesystem/functions file.xml fileatime.xml filectime.xml filegroup.xml fileinode.xml filemtime.xml |
||
| Groups: | php.doc.es | ||
| Request: | Send a blank email to doc-es+get-629@lists.php.net to get a copy of this message | ||
lboshell Wed Jun 23 14:41:20 2004 EDT
Added files:
/phpdoc-es/reference/domxml/functions DomXsltStylesheet-process.xml
DomXsltStylesheet-result-dump-file.xml
DomXsltStylesheet-result-dump-mem.xml
domxml-new-doc.xml
domxml-open-file.xml
domxml-open-mem.xml
domxml-version.xml
domxml-xmltree.xml
domxml-xslt-stylesheet-doc.xml
domxml-xslt-stylesheet-file.xml
domxml-xslt-stylesheet.xml
xpath-eval-expression.xml
xpath-eval.xml
xpath-new-context.xml
xptr-eval.xml
xptr-new-context.xml
Modified files:
/phpdoc-es/reference/filesystem/functions file.xml fileatime.xml
filectime.xml
filegroup.xml
fileinode.xml
filemtime.xml
Log:
- Nuevos archivos de domxml
- Correcciones
http://cvs.php.net/diff.php/phpdoc-es/reference/filesystem/functions/file.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-es/reference/filesystem/functions/file.xml diff -u phpdoc-es/reference/filesystem/functions/file.xml:1.1 phpdoc-es/reference/filesystem/functions/file.xml:1.2 --- phpdoc-es/reference/filesystem/functions/file.xml:1.1 Sun Apr 14 20:13:54 2002 +++ phpdoc-es/reference/filesystem/functions/file.xml Wed Jun 23 14:41:19 2004 @@ -1,32 +1,86 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- splitted from ./es/functions/filesystem.xml, last change in rev 1.1 --> -<!-- last change to 'file' in en/ tree in rev 1.2 --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.16 Maintainer: lboshell Status: ready --> +<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.file"> <refnamediv> <refname>file</refname> - <refpurpose>lee un fichero completo hacia un array</refpurpose> + <refpurpose>Lee un archivo entero hacia una matriz</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> - <type>array</type><methodname>file</methodname> - <methodparam><type>string</type><parameter>filename</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>use_include_path</parameter></methodparam> + <type>array</type><methodname>file</methodname> + <methodparam><type>string</type><parameter>nombre_archivo</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>usar_ruta_inclusion</parameter></methodparam> + <methodparam choice="opt"><type>resource</type><parameter>contexto</parameter></methodparam> </methodsynopsis> - <para> - Idéntica a <function>readfile</function>, excepto que - <function>file</function> devuelve el fichero en un array. Cada - elemento del array corresponde a una línea del fichero, con el - caracter de nueva línea incluido. + <para> + Función idéntica a <function>readfile</function>, + excepto que <function>file</function> devuelve el archivo en una + matriz. Cada elemento de la matriz corresponde a una línea + en el archivo, con el salto de línea aun incluido. Si + ocurre un fallo, <function>file</function> devuelve &false;. + </para> + <para> + Es posible usar el parámetro opcional + <parameter>usar_ruta_inclusion</parameter>, y definirlo como "1", + si desea buscar por el archivo en <link + linkend="ini.include-path">include_path</link>, también. </para> <para> - Se puede utilizar el segundo parámetro opcional y ponerle el valor - "1", si también se quiere buscar el fichero en el <link - linkend="ini.include-path">include_path</link>. + <informalexample> + <programlisting role="php"> +<![CDATA[ +<?php +// Obtiene un archivo en una matriz. En este ejemplo usaremos HTTP +// para obtener el codigo fuente HTML de una URL. + +$lineas = file('http://www.example.com/'); + +// Recorrer nuestra matriz, mostrar el codigo HTML como codigo fuente +// HTML, y los numeros de linea tambien. +foreach ($lineas as $linea_num => $linea) { + echo "Línea #<b>{$linea_num}</b> : " . htmlspecialchars($linea) . "<br />\n"; +} + +// Otro ejemplo, obtengames una pagina web como una cadena. Vea +// tambien file_get_contents(). +$html = implode('', file('http://www.example.com/')); +?> +]]> + </programlisting> + </informalexample> </para> - <para> - Ver también <function>readfile</function>, - <function>fopen</function>, y <function>popen</function>. + &tip.fopen-wrapper; + <note> + <para> + Cada línea en la matriz resultante incluye el final de + línea, así que aun necesita usar + <function>rtrim</function> si no quiere conservar el final de + línea. + </para> + </note> + ¬e.line-endings; + <note> + <para> + A partir de PHP 4.3.0, puede usar + <function>file_get_contents</function> para devolver el + contenido de un archivo como una cadena. + </para> + <para> + En PHP 4.3.0 <function>file</function>, se volvió una + función segura con material binario. + </para> + </note> + ¬e.context-support; + &warn.ssl-non-standard; + <para> + Vea también <function>readfile</function>, + <function>fopen</function>, <function>fsockopen</function>, + <function>popen</function>, + <function>file_get_contents</function>, y + <function>include</function>. </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc-es/reference/filesystem/functions/fileatime.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-es/reference/filesystem/functions/fileatime.xml diff -u phpdoc-es/reference/filesystem/functions/fileatime.xml:1.1 phpdoc-es/reference/filesystem/functions/fileatime.xml:1.2 --- phpdoc-es/reference/filesystem/functions/fileatime.xml:1.1 Sun Apr 14 20:13:54 2002 +++ phpdoc-es/reference/filesystem/functions/fileatime.xml Wed Jun 23 14:41:19 2004 @@ -1,25 +1,63 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- splitted from ./es/functions/filesystem.xml, last change in rev 1.1 --> -<!-- last change to 'fileatime' in en/ tree in rev 1.2 --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.6 Maintainer: lboshell Status: ready --> +<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.fileatime"> <refnamediv> <refname>fileatime</refname> - <refpurpose>Obtiene la última fecha de acceso a un fichero</refpurpose> + <refpurpose>Obtiene la hora del último acceso al + archivo</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> - <type>int</type><methodname>fileatime</methodname> - <methodparam><type>string</type><parameter>filename</parameter></methodparam> + <type>int</type><methodname>fileatime</methodname> + <methodparam><type>string</type><parameter>nombre_archivo</parameter></methodparam> </methodsynopsis> - <para> - Devuelve la fecha a la que el fichero fue accedido por última vez, - o &false; en caso de error. - </para> + <simpara> + Devuelve la hora en que se accedió al archivo por + última vez, o &false; en caso de un error. La hora es + devuelta como una marca de tiempo Unix. + </simpara> + <simpara> + Nota: El valor atime de un archivo debe cambiar cada vez que los + bloques de datos de éste sean leídos. Esto puede + resultar costoso en términos de rendimiento cuando una + aplicación accede regularmente a un número muy + grande de archivos o directorios. Algunos sistemas de archivos + Unix pueden ser montados deshabilitando los actualizaciones atime + para incrementar el rendimiento de tales aplicaciones. Las colas + de noticias USENET son un ejemplo común. En tales sistemas + de archivos esta función resultará inútil. + </simpara> + + ¬e.clearstatcache; + + &tip.fopen-wrapper.stat; + <para> - Los resultados de esta función son cacheados. Ver - <function>clearstatcache</function> para más detalles. + <example> + <title>Ejemplo de <function>fileatime</function></title> + <programlisting role="php"> +<![CDATA[ +<?php + +// imprime p.ej. se accedio a un_archivo.txt en: December 29 2002 22:16:23. + +$nombre_archivo = 'un_archivo.txt'; +if (file_exists($nombre_archivo)) { + echo "se accedio a $nombre_archivo en: " . date("F d Y H:i:s.", fileatime($nombre_archivo)); +} + +?> +]]> + </programlisting> + </example> </para> + <simpara> + Vea también <function>filemtime</function>, + <function>fileinode</function>, y <function>date</function>. + </simpara> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc-es/reference/filesystem/functions/filectime.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-es/reference/filesystem/functions/filectime.xml diff -u phpdoc-es/reference/filesystem/functions/filectime.xml:1.1 phpdoc-es/reference/filesystem/functions/filectime.xml:1.2 --- phpdoc-es/reference/filesystem/functions/filectime.xml:1.1 Sun Apr 14 20:13:54 2002 +++ phpdoc-es/reference/filesystem/functions/filectime.xml Wed Jun 23 14:41:19 2004 @@ -1,25 +1,68 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- splitted from ./es/functions/filesystem.xml, last change in rev 1.1 --> -<!-- last change to 'filectime' in en/ tree in rev 1.2 --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.6 Maintainer: lboshell Status: ready --> +<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.filectime"> <refnamediv> <refname>filectime</refname> - <refpurpose>Obtiene la fecha de cambio del inode del fichero</refpurpose> + <refpurpose>Obtiene la hora de modificación del inode del + archivo</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> - <type>int</type><methodname>filectime</methodname> - <methodparam><type>string</type><parameter>filename</parameter></methodparam> + <type>int</type><methodname>filectime</methodname> + <methodparam><type>string</type><parameter>nombre_archivo</parameter></methodparam> </methodsynopsis> <para> - Devuelve el momento en el que el fichero fue cambiado por última - vez, o &false; en caso de error. + Devuelve la hora en que el archivo fue cambiado por última + vez, o &false; en caso de fallo. La hora es devuelta como una + marca de tiempo Unix. </para> <para> - Los resultados de esta función son cacheados. Ver - <function>clearstatcache</function> para más detalles. + Nota: En la mayoría de sistemas de archivos en Unix, un + archivo se considera cambiado cuando los datos del inode cambian; + es decir, cuando la información de permisos, el + dueño, grupo u otros meta-datos son actualizados. Vea + también <function>filemtime</function> (que es lo que + probablemente quiera usar cuando desea crear pies de + página tipo "Modificado por última vez" en + páginas web) y <function>fileatime</function>. </para> + <para> + Note también que en algunos textos sobre Unix, el valor + ctime de un archivo se detalla como la hora de creación + del archivo. Esto es falso. No existe una hora de creación + para archivos Unix en la mayoría de sistemas de archivos + usados en Unix. + </para> + + ¬e.clearstatcache; + + &tip.fopen-wrapper.stat; + + <para> + <example> + <title>Ejemplo de <function>fileatime</function></title> + <programlisting role="php"> +<![CDATA[ +<?php + +// imprime p.ej. un_archivo.txt fue modificado en: December 29 2002 22:16:23. + +$nombre_archivo = 'un_archivo.txt'; +if (file_exists($nombre_archivo)) { + echo "$nombre_archivo fue modificado en: " . date("F d Y H:i:s.", filectime($nombre_archivo)); +} + +?> +]]> + </programlisting> + </example> + </para> + <simpara> + Vea también <function>filemtime</function> + </simpara> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc-es/reference/filesystem/functions/filegroup.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-es/reference/filesystem/functions/filegroup.xml diff -u phpdoc-es/reference/filesystem/functions/filegroup.xml:1.1 phpdoc-es/reference/filesystem/functions/filegroup.xml:1.2 --- phpdoc-es/reference/filesystem/functions/filegroup.xml:1.1 Sun Apr 14 20:13:54 2002 +++ phpdoc-es/reference/filesystem/functions/filegroup.xml Wed Jun 23 14:41:19 2004 @@ -1,27 +1,34 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- splitted from ./es/functions/filesystem.xml, last change in rev 1.1 --> -<!-- last change to 'filegroup' in en/ tree in rev 1.2 --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.6 Maintainer: lboshell Status: ready --> +<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.filegroup"> <refnamediv> <refname>filegroup</refname> - <refpurpose>Obtiene el grupo de un fichero</refpurpose> + <refpurpose>Obtiene el grupo del archivo</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> - <type>int</type><methodname>filegroup</methodname> - <methodparam><type>string</type><parameter>filename</parameter></methodparam> + <type>int</type><methodname>filegroup</methodname> + <methodparam><type>string</type><parameter>nombre_archivo</parameter></methodparam> </methodsynopsis> - <para> - Devuelve el identificador (ID) de grupo del propietario del fichero, - o &false; en caso de un error. El ID del grupo es devuelto en formato - numérico, usar <function>posix_getgrgid</function> para obtener el - nombre del grupo. - </para> <para> - Los resultados de esta función son cacheados. Ver - <function>clearstatcache</function> para más detalles. + Devuelve el ID de grupo del archivo, o &false; en caso de + fallo. El ID de grupo es devuelto en formato numérico, use + <function>posix_getgrgid</function> para convertirlo en un nombre + de grupo. En caso de fallo, se devuelve &false; y se genera un + error de nivel <constant>E_WARNING</constant>. </para> + + ¬e.clearstatcache; + + &tip.fopen-wrapper.stat; + + <simpara> + Vea también <function>fileowner</function>, y <link + linkend="ini.safe-mode-gid">safe_mode_gid</link>. + </simpara> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc-es/reference/filesystem/functions/fileinode.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-es/reference/filesystem/functions/fileinode.xml diff -u phpdoc-es/reference/filesystem/functions/fileinode.xml:1.1 phpdoc-es/reference/filesystem/functions/fileinode.xml:1.2 --- phpdoc-es/reference/filesystem/functions/fileinode.xml:1.1 Sun Apr 14 20:13:54 2002 +++ phpdoc-es/reference/filesystem/functions/fileinode.xml Wed Jun 23 14:41:19 2004 @@ -1,24 +1,30 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- splitted from ./es/functions/filesystem.xml, last change in rev 1.1 --> -<!-- last change to 'fileinode' in en/ tree in rev 1.2 --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.5 Maintainer: lboshell Status: ready --> +<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.fileinode"> <refnamediv> <refname>fileinode</refname> - <refpurpose>Obtiene el inode del fichero</refpurpose> + <refpurpose>Obtiene el inode del archivo</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> - <type>int</type><methodname>fileinode</methodname> - <methodparam><type>string</type><parameter>filename</parameter></methodparam> + <type>int</type><methodname>fileinode</methodname> + <methodparam><type>string</type><parameter>nombre_archivo</parameter></methodparam> </methodsynopsis> <para> - Devuelve el número de inode del fichero, o &false; en caso de un - error.</para> - <para> - Los resultados de esta función son cacheados. Ver - <function>clearstatcache</function> para más detalles. + Devuelve el número inode del archivo, o &false; en caso de + un error. </para> + + ¬e.clearstatcache; + + &tip.fopen-wrapper.stat; + + <simpara> + Vea también <function>stat</function> + </simpara> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc-es/reference/filesystem/functions/filemtime.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-es/reference/filesystem/functions/filemtime.xml diff -u phpdoc-es/reference/filesystem/functions/filemtime.xml:1.1 phpdoc-es/reference/filesystem/functions/filemtime.xml:1.2 --- phpdoc-es/reference/filesystem/functions/filemtime.xml:1.1 Sun Apr 14 20:13:54 2002 +++ phpdoc-es/reference/filesystem/functions/filemtime.xml Wed Jun 23 14:41:19 2004 @@ -1,24 +1,56 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- splitted from ./es/functions/filesystem.xml, last change in rev 1.1 --> -<!-- last change to 'filemtime' in en/ tree in rev 1.2 --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.5 Maintainer: lboshell Status: ready --> +<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.filemtime"> <refnamediv> <refname>filemtime</refname> - <refpurpose>Obtiene la fecha de modificación del fichero</refpurpose> + <refpurpose>Obtiene la hora de modificación del + archivo</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> - <type>int</type><methodname>filemtime</methodname> - <methodparam><type>string</type><parameter>filename</parameter></methodparam> + <type>int</type><methodname>filemtime</methodname> + <methodparam><type>string</type><parameter>nombre_archivo</parameter></methodparam> </methodsynopsis> <para> - Devuelve el momento en el que el fichero fue modificado por - última vez, o &false; en caso de un error. + Devuelve la hora en que el archivo fue modificado por + última vez, o &false; en caso de fallo. La hora es + devuelta como una marca de tiempo Unix, la cual es apropiada para + la función <function>date</function>. </para> + + ¬e.clearstatcache; + + &tip.fopen-wrapper.stat; + <para> - Los resultados de esta función son cacheados. Ver - <function>clearstatcache</function> para más detalles. + Esta función devuelve la hora en que los bloques de datos + de un archivo recibieron una escritura, es decir, la hora en que + el contenido del archivo cambió. + </para> + <para> + <example> + <title>Ejemplo de <function>filemtime</function></title> + <programlisting role="php"> +<![CDATA[ +<?php +// imprime, p.ej. un_archivo.txt fue modificado: December 29 2002 22:16:23. + +$nombre_archivo = 'un_archivo.txt'; +if (file_exists($nombre_archivo)) { + echo "$nombre_archivo fue modificado: " . date ("F d Y H:i:s.", filemtime($nombre_archivo)); +} +?> +]]> + </programlisting> + </example> + </para> + <para> + Vea también <function>filectime</function>, + <function>stat</function>, <function>touch</function>, y + <function>getlastmod</function>. </para> </refsect1> </refentry> http://cvs.php.net/co.php/phpdoc-es/reference/domxml/functions/DomXsltStylesheet-process.xml?r=1.1&p=1 Index: phpdoc-es/reference/domxml/functions/DomXsltStylesheet-process.xml +++ phpdoc-es/reference/domxml/functions/DomXsltStylesheet-process.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.4 Maintainer: lboshell Status: ready --> <refentry id="function.domxsltstylesheet-process"> <refnamediv> <refname>DomXsltStylesheet->process</refname> <refpurpose> Aplica la Transformación XSLT sobre un objeto DomDocument. </refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>object</type><methodname>DomXsltStylesheet->process</methodname> <methodparam><type>object</type><parameter>DomDocument</parameter></methodparam> <methodparam choice="opt"><type>array</type><parameter>parametros_xslt</parameter></methodparam> <methodparam choice="opt"><type>bool</type><parameter>param_es_xpath</parameter></methodparam> </methodsynopsis> &warn.experimental.func; &warn.undocumented.func; <para> </para> <para> Vea también <function>domxml_xslt_stylesheet</function>, <function>domxml_xslt_stylesheet_file</function>, y <function>domxml_xslt_stylesheet_doc</function> </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 --> http://cvs.php.net/co.php/phpdoc-es/reference/domxml/functions/DomXsltStylesheet-result-dump-file.xml?r=1.1&p=1 Index: phpdoc-es/reference/domxml/functions/DomXsltStylesheet-result-dump-file.xml +++ phpdoc-es/reference/domxml/functions/DomXsltStylesheet-result-dump-file.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.4 Maintainer: lboshell Status: ready --> <refentry id="function.domxsltstylesheet-result-dump-file"> <refnamediv> <refname>DomXsltStylesheet->result_dump_file</refname> <refpurpose> Vuelca el resultado de una Transformación XSLT a un archivo </refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>string</type><methodname>DomXsltStylesheet->result_dump_file</methodname> <methodparam><type>object</type><parameter>DomDocument</parameter></methodparam> <methodparam><type>string</type><parameter>nombre_archivo</parameter></methodparam> </methodsynopsis> &warn.experimental.func; <para> Esta función sólo se encuentra disponible a partir de PHP 4.3 </para> <para> Dado que DomXsltStylesheet->process() siempre devuelve un DomDocument XML bien formado, sin importar el método de salida declarado en <![CDATA[<xsl:output>]]> y atributos o elementos similares, no es de mucha utilidad si desea generar datos HTML 4 o de texto. Por otra parte, esta función honra <![CDATA[<xsl:output method="html|text">]]> y otras directivas de control de salida. Vea el ejemplo para más información sobre su uso. </para> <para> <example> <title>Guardar el resultado de una transformción XSLT en un archivo</title> <programlisting role="php"> <![CDATA[ <?php $nombre_archivo = "stylesheet.xsl"; $doc_xml = domxml_open_file("datos.xml"); $doc_xsl = domxml_xslt_stylesheet_file($nombre_archivo); $resultado = $doc_xsl->process($doc_xml); echo $doc_xsl->result_dump_file($resultado, "nombre_archivo"); ?> ]]> </programlisting> </example> </para> <para> Vea también <function>domxml_xslt_result_dump_mem</function>, y <function>domxml_xslt_process</function> </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 --> http://cvs.php.net/co.php/phpdoc-es/reference/domxml/functions/DomXsltStylesheet-result-dump-mem.xml?r=1.1&p=1 Index: phpdoc-es/reference/domxml/functions/DomXsltStylesheet-result-dump-mem.xml +++ phpdoc-es/reference/domxml/functions/DomXsltStylesheet-result-dump-mem.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.6 Maintainer: lboshell Status: ready --> <refentry id="function.domxsltstylesheet-result-dump-mem"> <refnamediv> <refname>DomXsltStylesheet->result_dump_mem</refname> <refpurpose> Vuelca el resultado de una Transformación XSLT de vuelta a una cadena </refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>string</type><methodname>DomXsltStylesheet->result_dump_mem</methodname> <methodparam><type>object</type><parameter>DomDocument</parameter></methodparam> </methodsynopsis> &warn.experimental.func; <para> Esta función sólo se encuentra disponible a partir de PHP 4.3 </para> <para> Dado que DomXsltStylesheet->process() siempre devuelve un DomDocument XML bien formado, sin importar el método de salida declarado en <![CDATA[<xsl:output>]]> y atributos o elementos similares, no es de mucha utilidad si desea generar datos HTML 4 o de texto. Por otra parte, esta función honra <![CDATA[<xsl:output method="html|text">]]> y otras directivas de control de salida. Vea el ejemplo para más información sobre su uso. </para> <para> <example> <title>Imprimir el resultado de una transformación XSLT</title> <programlisting role="php"> <![CDATA[ <?php $nombre_archivo = "stylesheet.xsl"; $doc_xml = domxml_open_file("datos.xml"); $doc_xsl = domxml_xslt_stylesheet_file($nombre_archivo); $resultado = $doc_xsl->process($doc_xml); echo $doc_xsl->result_dump_mem($resultado); ?> ]]> </programlisting> </example> </para> <para> Vea también <function>domxml_xslt_result_dump_file</function>, y <function>domxml_xslt_process</function> </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 --> http://cvs.php.net/co.php/phpdoc-es/reference/domxml/functions/domxml-new-doc.xml?r=1.1&p=1 Index: phpdoc-es/reference/domxml/functions/domxml-new-doc.xml +++ phpdoc-es/reference/domxml/functions/domxml-new-doc.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.39 --> <refentry id="function.domxml-new-doc"> <refnamediv> <refname>domxml_new_doc</refname> <refpurpose> Crea un nuevo documento XML vacío </refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>object</type><methodname>domxml_new_doc</methodname> <methodparam><type>string</type><parameter>version</parameter></methodparam> </methodsynopsis> &warn.experimental.func; <para> Crea un nuevo documento dom desde ceros y lo devuelve. </para> <para> Vea también <function>domdocument_add_root</function> </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 --> http://cvs.php.net/co.php/phpdoc-es/reference/domxml/functions/domxml-open-file.xml?r=1.1&p=1 Index: phpdoc-es/reference/domxml/functions/domxml-open-file.xml +++ phpdoc-es/reference/domxml/functions/domxml-open-file.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.5 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.1 --> <refentry id="function.domxml-open-file"> <refnamediv> <refname>domxml_open_file</refname> <refpurpose>Crea un objeto DOM a partir de un archivo XML</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>object</type><methodname>domxml_open_file</methodname> <methodparam><type>string</type><parameter>nombre_archivo</parameter></methodparam> </methodsynopsis> <para> Esta función analiza el documento XML en el archivo con nombre <parameter>nombre_archivo</parameter> y devuelve un objeto de clase "documento Dom", que tiene las propiedades listadas anteriormente. El archivo es abierto en modo de sólo-lectura. </para> <para> <example> <title>Abrir un documento XML desde un archivo</title> <programlisting role="php"> <![CDATA[ <?php if (!$dom = domxml_open_file("ejemplo.xml")) { echo "Ocurrió un error al analizar el documento\n"; exit; } $raiz = $dom->document_element(); ?> ]]> </programlisting> </example> </para> <para> Vea también <function>domxml_open_mem</function>, y <function>domxml_new_doc</function>. </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 --> http://cvs.php.net/co.php/phpdoc-es/reference/domxml/functions/domxml-open-mem.xml?r=1.1&p=1 Index: phpdoc-es/reference/domxml/functions/domxml-open-mem.xml +++ phpdoc-es/reference/domxml/functions/domxml-open-mem.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.5 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.1 --> <refentry id="function.domxml-open-mem"> <refnamediv> <refname>domxml_open_mem</refname> <refpurpose>Crea un objeto DOM desde un documento XML</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>object</type><methodname>domxml_open_mem</methodname> <methodparam><type>string</type><parameter>cadena</parameter></methodparam> </methodsynopsis> <para> Esta función analiza el documento XML en <parameter>cadena</parameter> y devuelve un objeto de clase "documento Dom", que tiene las propiedades listadas anteriormente. Esta función, <function>domxml_open_file</function> o <function>domxml_new_doc</function> debe llamarse antes de cualquier otra función. </para> <para> <example> <title>Abrir un documento XML desde una cadena</title> <programlisting role="php"> <![CDATA[ <?php include("ejemplo.inc"); if (!$dom = domxml_open_mem($cadena_xml)) { echo "Ocurrión un error al analizar el documento\n"; exit; } $raiz = $dom->document_element(); ?> ]]> </programlisting> </example> </para> <para> Vea también <function>domxml_open_file</function>, y <function>domxml_new_doc</function>. </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 --> http://cvs.php.net/co.php/phpdoc-es/reference/domxml/functions/domxml-version.xml?r=1.1&p=1 Index: phpdoc-es/reference/domxml/functions/domxml-version.xml +++ phpdoc-es/reference/domxml/functions/domxml-version.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.39 --> <refentry id='function.domxml-version'> <refnamediv> <refname>domxml_version</refname> <refpurpose> Obtener la versión de la biblioteca XML </refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>string</type><methodname>domxml_version</methodname> <void/> </methodsynopsis> <para> Esta función devuelve la versión de la biblioteca XML usada actualmente. </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 --> http://cvs.php.net/co.php/phpdoc-es/reference/domxml/functions/domxml-xmltree.xml?r=1.1&p=1 Index: phpdoc-es/reference/domxml/functions/domxml-xmltree.xml +++ phpdoc-es/reference/domxml/functions/domxml-xmltree.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.1 --> <refentry id="function.domxml-xmltree"> <refnamediv> <refname>domxml_xmltree</refname> <refpurpose> Crea un árbol de objetos PHP a partir de un documento XML </refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>object</type><methodname>domxml_xmltree</methodname> <methodparam><type>string</type><parameter>cadena</parameter></methodparam> </methodsynopsis> &warn.experimental.func; <para> La función analiza el documento XML en <parameter>cadena</parameter> y devuelve un árbol de objetos PHP como el documento interpretado. Esta función se encuentra separada de las demás, lo que quiere decir que no puede acceder al árbol con cualquiera de las otras funciones. Modificarlo, por ejemplo agregando nodos, no tiene sentido ya que no hay forma de volcar el resultado como un archivo XML. Sin embargo, esta función puede resultar útil si quiere leer un archivo y consultar su contenido. </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 --> http://cvs.php.net/co.php/phpdoc-es/reference/domxml/functions/domxml-xslt-stylesheet-doc.xml?r=1.1&p=1 Index: phpdoc-es/reference/domxml/functions/domxml-xslt-stylesheet-doc.xml +++ phpdoc-es/reference/domxml/functions/domxml-xslt-stylesheet-doc.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.4 Maintainer: lboshell Status: ready --> <refentry id="function.domxml-xslt-stylesheet-doc"> <refnamediv> <refname>domxml_xslt_stylesheet_doc</refname> <refpurpose> Crea un Objeto DomXsltStylesheet a partir de un Objeto DomDocument. </refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>object</type><methodname>domxml_xslt_stylesheet_doc</methodname> <methodparam><type>object</type><parameter>DocDocument</parameter></methodparam> </methodsynopsis> &warn.experimental.func; &warn.undocumented.func; <para> </para> <para> Vea también <function>domxsltstylesheet->process</function>, <function>domxml_xslt_stylesheet</function>, y <function>domxml_xslt_stylesheet_file</function>. </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 --> http://cvs.php.net/co.php/phpdoc-es/reference/domxml/functions/domxml-xslt-stylesheet-file.xml?r=1.1&p=1 Index: phpdoc-es/reference/domxml/functions/domxml-xslt-stylesheet-file.xml +++ phpdoc-es/reference/domxml/functions/domxml-xslt-stylesheet-file.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.5 Maintainer: lboshell Status: ready --> <refentry id="function.domxml-xslt-stylesheet-file"> <refnamediv> <refname>domxml_xslt_stylesheet_file</refname> <refpurpose> Crea un Objeto DomXsltStylesheet a partir de un documento XSL en un archivo. </refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>object</type><methodname>domxml_xslt_stylesheet_file</methodname> <methodparam><type>string</type><parameter>archivo_xsl</parameter></methodparam> </methodsynopsis> &warn.experimental.func; &warn.undocumented.func; <para> </para> <para> Vea también <function>domxsltstylesheet->process</function>, <function>domxml_xslt_stylesheet</function>, y <function>domxml_xslt_stylesheet_doc</function> </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 --> http://cvs.php.net/co.php/phpdoc-es/reference/domxml/functions/domxml-xslt-stylesheet.xml?r=1.1&p=1 Index: phpdoc-es/reference/domxml/functions/domxml-xslt-stylesheet.xml +++ phpdoc-es/reference/domxml/functions/domxml-xslt-stylesheet.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.5 Maintainer: lboshell Status: ready --> <refentry id="function.domxml-xslt-stylesheet"> <refnamediv> <refname>domxml_xslt_stylesheet</refname> <refpurpose> Crea un Objeto DomXsltStylesheet desde un documento XML en una cadena. </refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>object</type><methodname>domxml_xslt_stylesheet</methodname> <methodparam><type>string</type><parameter>documento_xsl</parameter></methodparam> </methodsynopsis> &warn.experimental.func; &warn.undocumented.func; <para> </para> <para> Vea también <function>domxsltstylesheet->process</function>, <function>domxml_xslt_stylesheet_file</function>, y <function>domxml_xslt_stylesheet_doc</function> </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 --> http://cvs.php.net/co.php/phpdoc-es/reference/domxml/functions/xpath-eval-expression.xml?r=1.1&p=1 Index: phpdoc-es/reference/domxml/functions/xpath-eval-expression.xml +++ phpdoc-es/reference/domxml/functions/xpath-eval-expression.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.29 --> <refentry id="function.xpath-eval-expression"> <refnamediv> <refname>xpath_eval_expression</refname> <refpurpose> Evalúa la Ruta de Ubicación XPath en la cadena entregada </refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>array</type><methodname>xpath_eval_expression</methodname> <methodparam><type>object</type><parameter>contexto_xpath</parameter></methodparam> </methodsynopsis> &warn.experimental.func; <para> </para> <para> Vea también <function>xpath_eval</function>. </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 --> http://cvs.php.net/co.php/phpdoc-es/reference/domxml/functions/xpath-eval.xml?r=1.1&p=1 Index: phpdoc-es/reference/domxml/functions/xpath-eval.xml +++ phpdoc-es/reference/domxml/functions/xpath-eval.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.5 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> <refentry id="function.xpath-eval"> <refnamediv> <refname>xpath_eval</refname> <refpurpose> Evalúa la Ruta de Ubicación XPatch en la cadena dada </refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>array</type><methodname>xpath_eval</methodname> <methodparam><type>object</type><parameter>contexto_xpath</parameter></methodparam> <methodparam><type>string</type><parameter>expresion_xpath</parameter></methodparam> <methodparam choice="opt"><type>object</type><parameter>nodo_contexto</parameter></methodparam> </methodsynopsis> &warn.experimental.func; <para> El valor opcional <parameter>nodo_contexto</parameter> puede especificarse para realizar consultas XPath relativas. </para> <para> Vea también <function>xpath_new_context</function>. </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 --> http://cvs.php.net/co.php/phpdoc-es/reference/domxml/functions/xpath-new-context.xml?r=1.1&p=1 Index: phpdoc-es/reference/domxml/functions/xpath-new-context.xml +++ phpdoc-es/reference/domxml/functions/xpath-new-context.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> <refentry id="function.xpath-new-context"> <refnamediv> <refname>xpath_new_context</refname> <refpurpose> Crea un nuevo contexto xpath </refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>object</type><methodname>xpath_new_context</methodname> <methodparam><type>object</type><parameter>documento_dom</parameter></methodparam> </methodsynopsis> &warn.experimental.func; <para> </para> <para> Vea también <function>xpath_eval</function>. </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 --> http://cvs.php.net/co.php/phpdoc-es/reference/domxml/functions/xptr-eval.xml?r=1.1&p=1 Index: phpdoc-es/reference/domxml/functions/xptr-eval.xml +++ phpdoc-es/reference/domxml/functions/xptr-eval.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.6 --> <refentry id='function.xptr-eval'> <refnamediv> <refname>xptr_eval</refname> <refpurpose> Evalúa la Ruta de Ubicación XPtr en la cadena dada </refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>int</type><methodname>xptr_eval</methodname> <methodparam choice="opt"><type>object</type><parameter>contexto_xpath</parameter></methodparam> <methodparam><type>string</type><parameter>cadena_eval</parameter></methodparam> </methodsynopsis> <para> &warn.undocumented.func; </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 --> http://cvs.php.net/co.php/phpdoc-es/reference/domxml/functions/xptr-new-context.xml?r=1.1&p=1 Index: phpdoc-es/reference/domxml/functions/xptr-new-context.xml +++ phpdoc-es/reference/domxml/functions/xptr-new-context.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.29 --> <refentry id='function.xptr-new-context'> <refnamediv> <refname>xptr_new_context</refname> <refpurpose> Crea un nuevo Contexto XPath </refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>string</type><methodname>xptr_new_context</methodname> <methodparam choice="opt"><type>object</type><parameter>gestor_doc</parameter></methodparam> </methodsynopsis> <para> &warn.undocumented.func; </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 -->
http://cvs.php.net/diff.php/phpdoc-es/reference/filesystem/functions/file.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-es/reference/filesystem/functions/file.xml diff -u phpdoc-es/reference/filesystem/functions/file.xml:1.1 phpdoc-es/reference/filesystem/functions/file.xml:1.2 --- phpdoc-es/reference/filesystem/functions/file.xml:1.1 Sun Apr 14 20:13:54 2002 +++ phpdoc-es/reference/filesystem/functions/file.xml Wed Jun 23 14:41:19 2004 @@ -1,32 +1,86 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- splitted from ./es/functions/filesystem.xml, last change in rev 1.1 --> -<!-- last change to 'file' in en/ tree in rev 1.2 --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.16 Maintainer: lboshell Status: ready --> +<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.file"> <refnamediv> <refname>file</refname> - <refpurpose>lee un fichero completo hacia un array</refpurpose> + <refpurpose>Lee un archivo entero hacia una matriz</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> - <type>array</type><methodname>file</methodname> - <methodparam><type>string</type><parameter>filename</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>use_include_path</parameter></methodparam> + <type>array</type><methodname>file</methodname> + <methodparam><type>string</type><parameter>nombre_archivo</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>usar_ruta_inclusion</parameter></methodparam> + <methodparam choice="opt"><type>resource</type><parameter>contexto</parameter></methodparam> </methodsynopsis> - <para> - Idéntica a <function>readfile</function>, excepto que - <function>file</function> devuelve el fichero en un array. Cada - elemento del array corresponde a una línea del fichero, con el - caracter de nueva línea incluido. + <para> + Función idéntica a <function>readfile</function>, + excepto que <function>file</function> devuelve el archivo en una + matriz. Cada elemento de la matriz corresponde a una línea + en el archivo, con el salto de línea aun incluido. Si + ocurre un fallo, <function>file</function> devuelve &false;. + </para> + <para> + Es posible usar el parámetro opcional + <parameter>usar_ruta_inclusion</parameter>, y definirlo como "1", + si desea buscar por el archivo en <link + linkend="ini.include-path">include_path</link>, también. </para> <para> - Se puede utilizar el segundo parámetro opcional y ponerle el valor - "1", si también se quiere buscar el fichero en el <link - linkend="ini.include-path">include_path</link>. + <informalexample> + <programlisting role="php"> +<![CDATA[ +<?php +// Obtiene un archivo en una matriz. En este ejemplo usaremos HTTP +// para obtener el codigo fuente HTML de una URL. + +$lineas = file('http://www.example.com/'); + +// Recorrer nuestra matriz, mostrar el codigo HTML como codigo fuente +// HTML, y los numeros de linea tambien. +foreach ($lineas as $linea_num => $linea) { + echo "Línea #<b>{$linea_num}</b> : " . htmlspecialchars($linea) . "<br />\n"; +} + +// Otro ejemplo, obtengames una pagina web como una cadena. Vea +// tambien file_get_contents(). +$html = implode('', file('http://www.example.com/')); +?> +]]> + </programlisting> + </informalexample> </para> - <para> - Ver también <function>readfile</function>, - <function>fopen</function>, y <function>popen</function>. + &tip.fopen-wrapper; + <note> + <para> + Cada línea en la matriz resultante incluye el final de + línea, así que aun necesita usar + <function>rtrim</function> si no quiere conservar el final de + línea. + </para> + </note> + ¬e.line-endings; + <note> + <para> + A partir de PHP 4.3.0, puede usar + <function>file_get_contents</function> para devolver el + contenido de un archivo como una cadena. + </para> + <para> + En PHP 4.3.0 <function>file</function>, se volvió una + función segura con material binario. + </para> + </note> + ¬e.context-support; + &warn.ssl-non-standard; + <para> + Vea también <function>readfile</function>, + <function>fopen</function>, <function>fsockopen</function>, + <function>popen</function>, + <function>file_get_contents</function>, y + <function>include</function>. </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc-es/reference/filesystem/functions/fileatime.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-es/reference/filesystem/functions/fileatime.xml diff -u phpdoc-es/reference/filesystem/functions/fileatime.xml:1.1 phpdoc-es/reference/filesystem/functions/fileatime.xml:1.2 --- phpdoc-es/reference/filesystem/functions/fileatime.xml:1.1 Sun Apr 14 20:13:54 2002 +++ phpdoc-es/reference/filesystem/functions/fileatime.xml Wed Jun 23 14:41:19 2004 @@ -1,25 +1,63 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- splitted from ./es/functions/filesystem.xml, last change in rev 1.1 --> -<!-- last change to 'fileatime' in en/ tree in rev 1.2 --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.6 Maintainer: lboshell Status: ready --> +<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.fileatime"> <refnamediv> <refname>fileatime</refname> - <refpurpose>Obtiene la última fecha de acceso a un fichero</refpurpose> + <refpurpose>Obtiene la hora del último acceso al + archivo</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> - <type>int</type><methodname>fileatime</methodname> - <methodparam><type>string</type><parameter>filename</parameter></methodparam> + <type>int</type><methodname>fileatime</methodname> + <methodparam><type>string</type><parameter>nombre_archivo</parameter></methodparam> </methodsynopsis> - <para> - Devuelve la fecha a la que el fichero fue accedido por última vez, - o &false; en caso de error. - </para> + <simpara> + Devuelve la hora en que se accedió al archivo por + última vez, o &false; en caso de un error. La hora es + devuelta como una marca de tiempo Unix. + </simpara> + <simpara> + Nota: El valor atime de un archivo debe cambiar cada vez que los + bloques de datos de éste sean leídos. Esto puede + resultar costoso en términos de rendimiento cuando una + aplicación accede regularmente a un número muy + grande de archivos o directorios. Algunos sistemas de archivos + Unix pueden ser montados deshabilitando los actualizaciones atime + para incrementar el rendimiento de tales aplicaciones. Las colas + de noticias USENET son un ejemplo común. En tales sistemas + de archivos esta función resultará inútil. + </simpara> + + ¬e.clearstatcache; + + &tip.fopen-wrapper.stat; + <para> - Los resultados de esta función son cacheados. Ver - <function>clearstatcache</function> para más detalles. + <example> + <title>Ejemplo de <function>fileatime</function></title> + <programlisting role="php"> +<![CDATA[ +<?php + +// imprime p.ej. se accedio a un_archivo.txt en: December 29 2002 22:16:23. + +$nombre_archivo = 'un_archivo.txt'; +if (file_exists($nombre_archivo)) { + echo "se accedio a $nombre_archivo en: " . date("F d Y H:i:s.", fileatime($nombre_archivo)); +} + +?> +]]> + </programlisting> + </example> </para> + <simpara> + Vea también <function>filemtime</function>, + <function>fileinode</function>, y <function>date</function>. + </simpara> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc-es/reference/filesystem/functions/filectime.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-es/reference/filesystem/functions/filectime.xml diff -u phpdoc-es/reference/filesystem/functions/filectime.xml:1.1 phpdoc-es/reference/filesystem/functions/filectime.xml:1.2 --- phpdoc-es/reference/filesystem/functions/filectime.xml:1.1 Sun Apr 14 20:13:54 2002 +++ phpdoc-es/reference/filesystem/functions/filectime.xml Wed Jun 23 14:41:19 2004 @@ -1,25 +1,68 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- splitted from ./es/functions/filesystem.xml, last change in rev 1.1 --> -<!-- last change to 'filectime' in en/ tree in rev 1.2 --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.6 Maintainer: lboshell Status: ready --> +<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.filectime"> <refnamediv> <refname>filectime</refname> - <refpurpose>Obtiene la fecha de cambio del inode del fichero</refpurpose> + <refpurpose>Obtiene la hora de modificación del inode del + archivo</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> - <type>int</type><methodname>filectime</methodname> - <methodparam><type>string</type><parameter>filename</parameter></methodparam> + <type>int</type><methodname>filectime</methodname> + <methodparam><type>string</type><parameter>nombre_archivo</parameter></methodparam> </methodsynopsis> <para> - Devuelve el momento en el que el fichero fue cambiado por última - vez, o &false; en caso de error. + Devuelve la hora en que el archivo fue cambiado por última + vez, o &false; en caso de fallo. La hora es devuelta como una + marca de tiempo Unix. </para> <para> - Los resultados de esta función son cacheados. Ver - <function>clearstatcache</function> para más detalles. + Nota: En la mayoría de sistemas de archivos en Unix, un + archivo se considera cambiado cuando los datos del inode cambian; + es decir, cuando la información de permisos, el + dueño, grupo u otros meta-datos son actualizados. Vea + también <function>filemtime</function> (que es lo que + probablemente quiera usar cuando desea crear pies de + página tipo "Modificado por última vez" en + páginas web) y <function>fileatime</function>. </para> + <para> + Note también que en algunos textos sobre Unix, el valor + ctime de un archivo se detalla como la hora de creación + del archivo. Esto es falso. No existe una hora de creación + para archivos Unix en la mayoría de sistemas de archivos + usados en Unix. + </para> + + ¬e.clearstatcache; + + &tip.fopen-wrapper.stat; + + <para> + <example> + <title>Ejemplo de <function>fileatime</function></title> + <programlisting role="php"> +<![CDATA[ +<?php + +// imprime p.ej. un_archivo.txt fue modificado en: December 29 2002 22:16:23. + +$nombre_archivo = 'un_archivo.txt'; +if (file_exists($nombre_archivo)) { + echo "$nombre_archivo fue modificado en: " . date("F d Y H:i:s.", filectime($nombre_archivo)); +} + +?> +]]> + </programlisting> + </example> + </para> + <simpara> + Vea también <function>filemtime</function> + </simpara> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc-es/reference/filesystem/functions/filegroup.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-es/reference/filesystem/functions/filegroup.xml diff -u phpdoc-es/reference/filesystem/functions/filegroup.xml:1.1 phpdoc-es/reference/filesystem/functions/filegroup.xml:1.2 --- phpdoc-es/reference/filesystem/functions/filegroup.xml:1.1 Sun Apr 14 20:13:54 2002 +++ phpdoc-es/reference/filesystem/functions/filegroup.xml Wed Jun 23 14:41:19 2004 @@ -1,27 +1,34 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- splitted from ./es/functions/filesystem.xml, last change in rev 1.1 --> -<!-- last change to 'filegroup' in en/ tree in rev 1.2 --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.6 Maintainer: lboshell Status: ready --> +<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.filegroup"> <refnamediv> <refname>filegroup</refname> - <refpurpose>Obtiene el grupo de un fichero</refpurpose> + <refpurpose>Obtiene el grupo del archivo</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> - <type>int</type><methodname>filegroup</methodname> - <methodparam><type>string</type><parameter>filename</parameter></methodparam> + <type>int</type><methodname>filegroup</methodname> + <methodparam><type>string</type><parameter>nombre_archivo</parameter></methodparam> </methodsynopsis> - <para> - Devuelve el identificador (ID) de grupo del propietario del fichero, - o &false; en caso de un error. El ID del grupo es devuelto en formato - numérico, usar <function>posix_getgrgid</function> para obtener el - nombre del grupo. - </para> <para> - Los resultados de esta función son cacheados. Ver - <function>clearstatcache</function> para más detalles. + Devuelve el ID de grupo del archivo, o &false; en caso de + fallo. El ID de grupo es devuelto en formato numérico, use + <function>posix_getgrgid</function> para convertirlo en un nombre + de grupo. En caso de fallo, se devuelve &false; y se genera un + error de nivel <constant>E_WARNING</constant>. </para> + + ¬e.clearstatcache; + + &tip.fopen-wrapper.stat; + + <simpara> + Vea también <function>fileowner</function>, y <link + linkend="ini.safe-mode-gid">safe_mode_gid</link>. + </simpara> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc-es/reference/filesystem/functions/fileinode.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-es/reference/filesystem/functions/fileinode.xml diff -u phpdoc-es/reference/filesystem/functions/fileinode.xml:1.1 phpdoc-es/reference/filesystem/functions/fileinode.xml:1.2 --- phpdoc-es/reference/filesystem/functions/fileinode.xml:1.1 Sun Apr 14 20:13:54 2002 +++ phpdoc-es/reference/filesystem/functions/fileinode.xml Wed Jun 23 14:41:19 2004 @@ -1,24 +1,30 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- splitted from ./es/functions/filesystem.xml, last change in rev 1.1 --> -<!-- last change to 'fileinode' in en/ tree in rev 1.2 --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.5 Maintainer: lboshell Status: ready --> +<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.fileinode"> <refnamediv> <refname>fileinode</refname> - <refpurpose>Obtiene el inode del fichero</refpurpose> + <refpurpose>Obtiene el inode del archivo</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> - <type>int</type><methodname>fileinode</methodname> - <methodparam><type>string</type><parameter>filename</parameter></methodparam> + <type>int</type><methodname>fileinode</methodname> + <methodparam><type>string</type><parameter>nombre_archivo</parameter></methodparam> </methodsynopsis> <para> - Devuelve el número de inode del fichero, o &false; en caso de un - error.</para> - <para> - Los resultados de esta función son cacheados. Ver - <function>clearstatcache</function> para más detalles. + Devuelve el número inode del archivo, o &false; en caso de + un error. </para> + + ¬e.clearstatcache; + + &tip.fopen-wrapper.stat; + + <simpara> + Vea también <function>stat</function> + </simpara> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc-es/reference/filesystem/functions/filemtime.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-es/reference/filesystem/functions/filemtime.xml diff -u phpdoc-es/reference/filesystem/functions/filemtime.xml:1.1 phpdoc-es/reference/filesystem/functions/filemtime.xml:1.2 --- phpdoc-es/reference/filesystem/functions/filemtime.xml:1.1 Sun Apr 14 20:13:54 2002 +++ phpdoc-es/reference/filesystem/functions/filemtime.xml Wed Jun 23 14:41:19 2004 @@ -1,24 +1,56 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- splitted from ./es/functions/filesystem.xml, last change in rev 1.1 --> -<!-- last change to 'filemtime' in en/ tree in rev 1.2 --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.5 Maintainer: lboshell Status: ready --> +<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.filemtime"> <refnamediv> <refname>filemtime</refname> - <refpurpose>Obtiene la fecha de modificación del fichero</refpurpose> + <refpurpose>Obtiene la hora de modificación del + archivo</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> - <type>int</type><methodname>filemtime</methodname> - <methodparam><type>string</type><parameter>filename</parameter></methodparam> + <type>int</type><methodname>filemtime</methodname> + <methodparam><type>string</type><parameter>nombre_archivo</parameter></methodparam> </methodsynopsis> <para> - Devuelve el momento en el que el fichero fue modificado por - última vez, o &false; en caso de un error. + Devuelve la hora en que el archivo fue modificado por + última vez, o &false; en caso de fallo. La hora es + devuelta como una marca de tiempo Unix, la cual es apropiada para + la función <function>date</function>. </para> + + ¬e.clearstatcache; + + &tip.fopen-wrapper.stat; + <para> - Los resultados de esta función son cacheados. Ver - <function>clearstatcache</function> para más detalles. + Esta función devuelve la hora en que los bloques de datos + de un archivo recibieron una escritura, es decir, la hora en que + el contenido del archivo cambió. + </para> + <para> + <example> + <title>Ejemplo de <function>filemtime</function></title> + <programlisting role="php"> +<![CDATA[ +<?php +// imprime, p.ej. un_archivo.txt fue modificado: December 29 2002 22:16:23. + +$nombre_archivo = 'un_archivo.txt'; +if (file_exists($nombre_archivo)) { + echo "$nombre_archivo fue modificado: " . date ("F d Y H:i:s.", filemtime($nombre_archivo)); +} +?> +]]> + </programlisting> + </example> + </para> + <para> + Vea también <function>filectime</function>, + <function>stat</function>, <function>touch</function>, y + <function>getlastmod</function>. </para> </refsect1> </refentry> http://cvs.php.net/co.php/phpdoc-es/reference/domxml/functions/DomXsltStylesheet-process.xml?r=1.1&p=1 Index: phpdoc-es/reference/domxml/functions/DomXsltStylesheet-process.xml +++ phpdoc-es/reference/domxml/functions/DomXsltStylesheet-process.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.4 Maintainer: lboshell Status: ready --> <refentry id="function.domxsltstylesheet-process"> <refnamediv> <refname>DomXsltStylesheet->process</refname> <refpurpose> Aplica la Transformación XSLT sobre un objeto DomDocument. </refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>object</type><methodname>DomXsltStylesheet->process</methodname> <methodparam><type>object</type><parameter>DomDocument</parameter></methodparam> <methodparam choice="opt"><type>array</type><parameter>parametros_xslt</parameter></methodparam> <methodparam choice="opt"><type>bool</type><parameter>param_es_xpath</parameter></methodparam> </methodsynopsis> &warn.experimental.func; &warn.undocumented.func; <para> </para> <para> Vea también <function>domxml_xslt_stylesheet</function>, <function>domxml_xslt_stylesheet_file</function>, y <function>domxml_xslt_stylesheet_doc</function> </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 --> http://cvs.php.net/co.php/phpdoc-es/reference/domxml/functions/DomXsltStylesheet-result-dump-file.xml?r=1.1&p=1 Index: phpdoc-es/reference/domxml/functions/DomXsltStylesheet-result-dump-file.xml +++ phpdoc-es/reference/domxml/functions/DomXsltStylesheet-result-dump-file.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.4 Maintainer: lboshell Status: ready --> <refentry id="function.domxsltstylesheet-result-dump-file"> <refnamediv> <refname>DomXsltStylesheet->result_dump_file</refname> <refpurpose> Vuelca el resultado de una Transformación XSLT a un archivo </refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>string</type><methodname>DomXsltStylesheet->result_dump_file</methodname> <methodparam><type>object</type><parameter>DomDocument</parameter></methodparam> <methodparam><type>string</type><parameter>nombre_archivo</parameter></methodparam> </methodsynopsis> &warn.experimental.func; <para> Esta función sólo se encuentra disponible a partir de PHP 4.3 </para> <para> Dado que DomXsltStylesheet->process() siempre devuelve un DomDocument XML bien formado, sin importar el método de salida declarado en <![CDATA[<xsl:output>]]> y atributos o elementos similares, no es de mucha utilidad si desea generar datos HTML 4 o de texto. Por otra parte, esta función honra <![CDATA[<xsl:output method="html|text">]]> y otras directivas de control de salida. Vea el ejemplo para más información sobre su uso. </para> <para> <example> <title>Guardar el resultado de una transformción XSLT en un archivo</title> <programlisting role="php"> <![CDATA[ <?php $nombre_archivo = "stylesheet.xsl"; $doc_xml = domxml_open_file("datos.xml"); $doc_xsl = domxml_xslt_stylesheet_file($nombre_archivo); $resultado = $doc_xsl->process($doc_xml); echo $doc_xsl->result_dump_file($resultado, "nombre_archivo"); ?> ]]> </programlisting> </example> </para> <para> Vea también <function>domxml_xslt_result_dump_mem</function>, y <function>domxml_xslt_process</function> </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 --> http://cvs.php.net/co.php/phpdoc-es/reference/domxml/functions/DomXsltStylesheet-result-dump-mem.xml?r=1.1&p=1 Index: phpdoc-es/reference/domxml/functions/DomXsltStylesheet-result-dump-mem.xml +++ phpdoc-es/reference/domxml/functions/DomXsltStylesheet-result-dump-mem.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.6 Maintainer: lboshell Status: ready --> <refentry id="function.domxsltstylesheet-result-dump-mem"> <refnamediv> <refname>DomXsltStylesheet->result_dump_mem</refname> <refpurpose> Vuelca el resultado de una Transformación XSLT de vuelta a una cadena </refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>string</type><methodname>DomXsltStylesheet->result_dump_mem</methodname> <methodparam><type>object</type><parameter>DomDocument</parameter></methodparam> </methodsynopsis> &warn.experimental.func; <para> Esta función sólo se encuentra disponible a partir de PHP 4.3 </para> <para> Dado que DomXsltStylesheet->process() siempre devuelve un DomDocument XML bien formado, sin importar el método de salida declarado en <![CDATA[<xsl:output>]]> y atributos o elementos similares, no es de mucha utilidad si desea generar datos HTML 4 o de texto. Por otra parte, esta función honra <![CDATA[<xsl:output method="html|text">]]> y otras directivas de control de salida. Vea el ejemplo para más información sobre su uso. </para> <para> <example> <title>Imprimir el resultado de una transformación XSLT</title> <programlisting role="php"> <![CDATA[ <?php $nombre_archivo = "stylesheet.xsl"; $doc_xml = domxml_open_file("datos.xml"); $doc_xsl = domxml_xslt_stylesheet_file($nombre_archivo); $resultado = $doc_xsl->process($doc_xml); echo $doc_xsl->result_dump_mem($resultado); ?> ]]> </programlisting> </example> </para> <para> Vea también <function>domxml_xslt_result_dump_file</function>, y <function>domxml_xslt_process</function> </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 --> http://cvs.php.net/co.php/phpdoc-es/reference/domxml/functions/domxml-new-doc.xml?r=1.1&p=1 Index: phpdoc-es/reference/domxml/functions/domxml-new-doc.xml +++ phpdoc-es/reference/domxml/functions/domxml-new-doc.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.39 --> <refentry id="function.domxml-new-doc"> <refnamediv> <refname>domxml_new_doc</refname> <refpurpose> Crea un nuevo documento XML vacío </refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>object</type><methodname>domxml_new_doc</methodname> <methodparam><type>string</type><parameter>version</parameter></methodparam> </methodsynopsis> &warn.experimental.func; <para> Crea un nuevo documento dom desde ceros y lo devuelve. </para> <para> Vea también <function>domdocument_add_root</function> </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 --> http://cvs.php.net/co.php/phpdoc-es/reference/domxml/functions/domxml-open-file.xml?r=1.1&p=1 Index: phpdoc-es/reference/domxml/functions/domxml-open-file.xml +++ phpdoc-es/reference/domxml/functions/domxml-open-file.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.5 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.1 --> <refentry id="function.domxml-open-file"> <refnamediv> <refname>domxml_open_file</refname> <refpurpose>Crea un objeto DOM a partir de un archivo XML</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>object</type><methodname>domxml_open_file</methodname> <methodparam><type>string</type><parameter>nombre_archivo</parameter></methodparam> </methodsynopsis> <para> Esta función analiza el documento XML en el archivo con nombre <parameter>nombre_archivo</parameter> y devuelve un objeto de clase "documento Dom", que tiene las propiedades listadas anteriormente. El archivo es abierto en modo de sólo-lectura. </para> <para> <example> <title>Abrir un documento XML desde un archivo</title> <programlisting role="php"> <![CDATA[ <?php if (!$dom = domxml_open_file("ejemplo.xml")) { echo "Ocurrió un error al analizar el documento\n"; exit; } $raiz = $dom->document_element(); ?> ]]> </programlisting> </example> </para> <para> Vea también <function>domxml_open_mem</function>, y <function>domxml_new_doc</function>. </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 --> http://cvs.php.net/co.php/phpdoc-es/reference/domxml/functions/domxml-open-mem.xml?r=1.1&p=1 Index: phpdoc-es/reference/domxml/functions/domxml-open-mem.xml +++ phpdoc-es/reference/domxml/functions/domxml-open-mem.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.5 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.1 --> <refentry id="function.domxml-open-mem"> <refnamediv> <refname>domxml_open_mem</refname> <refpurpose>Crea un objeto DOM desde un documento XML</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>object</type><methodname>domxml_open_mem</methodname> <methodparam><type>string</type><parameter>cadena</parameter></methodparam> </methodsynopsis> <para> Esta función analiza el documento XML en <parameter>cadena</parameter> y devuelve un objeto de clase "documento Dom", que tiene las propiedades listadas anteriormente. Esta función, <function>domxml_open_file</function> o <function>domxml_new_doc</function> debe llamarse antes de cualquier otra función. </para> <para> <example> <title>Abrir un documento XML desde una cadena</title> <programlisting role="php"> <![CDATA[ <?php include("ejemplo.inc"); if (!$dom = domxml_open_mem($cadena_xml)) { echo "Ocurrión un error al analizar el documento\n"; exit; } $raiz = $dom->document_element(); ?> ]]> </programlisting> </example> </para> <para> Vea también <function>domxml_open_file</function>, y <function>domxml_new_doc</function>. </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 --> http://cvs.php.net/co.php/phpdoc-es/reference/domxml/functions/domxml-version.xml?r=1.1&p=1 Index: phpdoc-es/reference/domxml/functions/domxml-version.xml +++ phpdoc-es/reference/domxml/functions/domxml-version.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.39 --> <refentry id='function.domxml-version'> <refnamediv> <refname>domxml_version</refname> <refpurpose> Obtener la versión de la biblioteca XML </refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>string</type><methodname>domxml_version</methodname> <void/> </methodsynopsis> <para> Esta función devuelve la versión de la biblioteca XML usada actualmente. </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 --> http://cvs.php.net/co.php/phpdoc-es/reference/domxml/functions/domxml-xmltree.xml?r=1.1&p=1 Index: phpdoc-es/reference/domxml/functions/domxml-xmltree.xml +++ phpdoc-es/reference/domxml/functions/domxml-xmltree.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.1 --> <refentry id="function.domxml-xmltree"> <refnamediv> <refname>domxml_xmltree</refname> <refpurpose> Crea un árbol de objetos PHP a partir de un documento XML </refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>object</type><methodname>domxml_xmltree</methodname> <methodparam><type>string</type><parameter>cadena</parameter></methodparam> </methodsynopsis> &warn.experimental.func; <para> La función analiza el documento XML en <parameter>cadena</parameter> y devuelve un árbol de objetos PHP como el documento interpretado. Esta función se encuentra separada de las demás, lo que quiere decir que no puede acceder al árbol con cualquiera de las otras funciones. Modificarlo, por ejemplo agregando nodos, no tiene sentido ya que no hay forma de volcar el resultado como un archivo XML. Sin embargo, esta función puede resultar útil si quiere leer un archivo y consultar su contenido. </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 --> http://cvs.php.net/co.php/phpdoc-es/reference/domxml/functions/domxml-xslt-stylesheet-doc.xml?r=1.1&p=1 Index: phpdoc-es/reference/domxml/functions/domxml-xslt-stylesheet-doc.xml +++ phpdoc-es/reference/domxml/functions/domxml-xslt-stylesheet-doc.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.4 Maintainer: lboshell Status: ready --> <refentry id="function.domxml-xslt-stylesheet-doc"> <refnamediv> <refname>domxml_xslt_stylesheet_doc</refname> <refpurpose> Crea un Objeto DomXsltStylesheet a partir de un Objeto DomDocument. </refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>object</type><methodname>domxml_xslt_stylesheet_doc</methodname> <methodparam><type>object</type><parameter>DocDocument</parameter></methodparam> </methodsynopsis> &warn.experimental.func; &warn.undocumented.func; <para> </para> <para> Vea también <function>domxsltstylesheet->process</function>, <function>domxml_xslt_stylesheet</function>, y <function>domxml_xslt_stylesheet_file</function>. </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 --> http://cvs.php.net/co.php/phpdoc-es/reference/domxml/functions/domxml-xslt-stylesheet-file.xml?r=1.1&p=1 Index: phpdoc-es/reference/domxml/functions/domxml-xslt-stylesheet-file.xml +++ phpdoc-es/reference/domxml/functions/domxml-xslt-stylesheet-file.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.5 Maintainer: lboshell Status: ready --> <refentry id="function.domxml-xslt-stylesheet-file"> <refnamediv> <refname>domxml_xslt_stylesheet_file</refname> <refpurpose> Crea un Objeto DomXsltStylesheet a partir de un documento XSL en un archivo. </refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>object</type><methodname>domxml_xslt_stylesheet_file</methodname> <methodparam><type>string</type><parameter>archivo_xsl</parameter></methodparam> </methodsynopsis> &warn.experimental.func; &warn.undocumented.func; <para> </para> <para> Vea también <function>domxsltstylesheet->process</function>, <function>domxml_xslt_stylesheet</function>, y <function>domxml_xslt_stylesheet_doc</function> </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 --> http://cvs.php.net/co.php/phpdoc-es/reference/domxml/functions/domxml-xslt-stylesheet.xml?r=1.1&p=1 Index: phpdoc-es/reference/domxml/functions/domxml-xslt-stylesheet.xml +++ phpdoc-es/reference/domxml/functions/domxml-xslt-stylesheet.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.5 Maintainer: lboshell Status: ready --> <refentry id="function.domxml-xslt-stylesheet"> <refnamediv> <refname>domxml_xslt_stylesheet</refname> <refpurpose> Crea un Objeto DomXsltStylesheet desde un documento XML en una cadena. </refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>object</type><methodname>domxml_xslt_stylesheet</methodname> <methodparam><type>string</type><parameter>documento_xsl</parameter></methodparam> </methodsynopsis> &warn.experimental.func; &warn.undocumented.func; <para> </para> <para> Vea también <function>domxsltstylesheet->process</function>, <function>domxml_xslt_stylesheet_file</function>, y <function>domxml_xslt_stylesheet_doc</function> </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 --> http://cvs.php.net/co.php/phpdoc-es/reference/domxml/functions/xpath-eval-expression.xml?r=1.1&p=1 Index: phpdoc-es/reference/domxml/functions/xpath-eval-expression.xml +++ phpdoc-es/reference/domxml/functions/xpath-eval-expression.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.29 --> <refentry id="function.xpath-eval-expression"> <refnamediv> <refname>xpath_eval_expression</refname> <refpurpose> Evalúa la Ruta de Ubicación XPath en la cadena entregada </refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>array</type><methodname>xpath_eval_expression</methodname> <methodparam><type>object</type><parameter>contexto_xpath</parameter></methodparam> </methodsynopsis> &warn.experimental.func; <para> </para> <para> Vea también <function>xpath_eval</function>. </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 --> http://cvs.php.net/co.php/phpdoc-es/reference/domxml/functions/xpath-eval.xml?r=1.1&p=1 Index: phpdoc-es/reference/domxml/functions/xpath-eval.xml +++ phpdoc-es/reference/domxml/functions/xpath-eval.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.5 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> <refentry id="function.xpath-eval"> <refnamediv> <refname>xpath_eval</refname> <refpurpose> Evalúa la Ruta de Ubicación XPatch en la cadena dada </refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>array</type><methodname>xpath_eval</methodname> <methodparam><type>object</type><parameter>contexto_xpath</parameter></methodparam> <methodparam><type>string</type><parameter>expresion_xpath</parameter></methodparam> <methodparam choice="opt"><type>object</type><parameter>nodo_contexto</parameter></methodparam> </methodsynopsis> &warn.experimental.func; <para> El valor opcional <parameter>nodo_contexto</parameter> puede especificarse para realizar consultas XPath relativas. </para> <para> Vea también <function>xpath_new_context</function>. </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 --> http://cvs.php.net/co.php/phpdoc-es/reference/domxml/functions/xpath-new-context.xml?r=1.1&p=1 Index: phpdoc-es/reference/domxml/functions/xpath-new-context.xml +++ phpdoc-es/reference/domxml/functions/xpath-new-context.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> <refentry id="function.xpath-new-context"> <refnamediv> <refname>xpath_new_context</refname> <refpurpose> Crea un nuevo contexto xpath </refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>object</type><methodname>xpath_new_context</methodname> <methodparam><type>object</type><parameter>documento_dom</parameter></methodparam> </methodsynopsis> &warn.experimental.func; <para> </para> <para> Vea también <function>xpath_eval</function>. </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 --> http://cvs.php.net/co.php/phpdoc-es/reference/domxml/functions/xptr-eval.xml?r=1.1&p=1 Index: phpdoc-es/reference/domxml/functions/xptr-eval.xml +++ phpdoc-es/reference/domxml/functions/xptr-eval.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.6 --> <refentry id='function.xptr-eval'> <refnamediv> <refname>xptr_eval</refname> <refpurpose> Evalúa la Ruta de Ubicación XPtr en la cadena dada </refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>int</type><methodname>xptr_eval</methodname> <methodparam choice="opt"><type>object</type><parameter>contexto_xpath</parameter></methodparam> <methodparam><type>string</type><parameter>cadena_eval</parameter></methodparam> </methodsynopsis> <para> &warn.undocumented.func; </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 --> http://cvs.php.net/co.php/phpdoc-es/reference/domxml/functions/xptr-new-context.xml?r=1.1&p=1 Index: phpdoc-es/reference/domxml/functions/xptr-new-context.xml +++ phpdoc-es/reference/domxml/functions/xptr-new-context.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.29 --> <refentry id='function.xptr-new-context'> <refnamediv> <refname>xptr_new_context</refname> <refpurpose> Crea un nuevo Contexto XPath </refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>string</type><methodname>xptr_new_context</methodname> <methodparam choice="opt"><type>object</type><parameter>gestor_doc</parameter></methodparam> </methodsynopsis> <para> &warn.undocumented.func; </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 -->