aboutsummaryrefslogtreecommitdiff
path: root/files/es/web/xpath
diff options
context:
space:
mode:
Diffstat (limited to 'files/es/web/xpath')
-rw-r--r--files/es/web/xpath/ejes/ancestor-or-self/index.html8
-rw-r--r--files/es/web/xpath/ejes/ancestor/index.html8
-rw-r--r--files/es/web/xpath/ejes/attribute/index.html8
-rw-r--r--files/es/web/xpath/ejes/child/index.html8
-rw-r--r--files/es/web/xpath/ejes/descendant-or-self/index.html8
-rw-r--r--files/es/web/xpath/ejes/descendant/index.html8
-rw-r--r--files/es/web/xpath/ejes/following-sibling/index.html8
-rw-r--r--files/es/web/xpath/ejes/following/index.html8
-rw-r--r--files/es/web/xpath/ejes/index.html47
-rw-r--r--files/es/web/xpath/ejes/namespace/index.html9
-rw-r--r--files/es/web/xpath/ejes/parent/index.html8
-rw-r--r--files/es/web/xpath/ejes/preceding-sibling/index.html8
-rw-r--r--files/es/web/xpath/ejes/preceding/index.html8
-rw-r--r--files/es/web/xpath/funciones/contains/index.html32
-rw-r--r--files/es/web/xpath/funciones/index.html54
-rw-r--r--files/es/web/xpath/funciones/substring/index.html37
-rw-r--r--files/es/web/xpath/funciones/true/index.html29
-rw-r--r--files/es/web/xpath/index.html14
18 files changed, 310 insertions, 0 deletions
diff --git a/files/es/web/xpath/ejes/ancestor-or-self/index.html b/files/es/web/xpath/ejes/ancestor-or-self/index.html
new file mode 100644
index 0000000000..902aa3f6b9
--- /dev/null
+++ b/files/es/web/xpath/ejes/ancestor-or-self/index.html
@@ -0,0 +1,8 @@
+---
+title: ancestor-or-self
+slug: Web/XPath/Ejes/ancestor-or-self
+translation_of: Web/XPath/Axes/ancestor-or-self
+---
+<p>
+</p><p>El nodo <code>ancestor-or-self</code> indica el nodo de contexto y todos sus antecesores, incluyendo el nodo raiz.
+</p>{{ languages( { "en": "en/XPath/Axes/ancestor-or-self", "fr": "fr/XPath/Axes/ancestor-or-self", "pl": "pl/XPath/Osie/ancestor-or-self" } ) }}
diff --git a/files/es/web/xpath/ejes/ancestor/index.html b/files/es/web/xpath/ejes/ancestor/index.html
new file mode 100644
index 0000000000..5d7148e0bc
--- /dev/null
+++ b/files/es/web/xpath/ejes/ancestor/index.html
@@ -0,0 +1,8 @@
+---
+title: ancestor
+slug: Web/XPath/Ejes/ancestor
+translation_of: Web/XPath/Axes/ancestor
+---
+<p>
+</p><p>El eje <code>ancestor</code> indica todos los antecesores del nodo de contexto comenzando con el nodo padre y viajando hacia el nodo raiz.
+</p>{{ languages( { "en": "en/XPath/Axes/ancestor", "fr": "fr/XPath/Axes/ancestor", "pl": "pl/XPath/Osie/ancestor" } ) }}
diff --git a/files/es/web/xpath/ejes/attribute/index.html b/files/es/web/xpath/ejes/attribute/index.html
new file mode 100644
index 0000000000..211ad7bc06
--- /dev/null
+++ b/files/es/web/xpath/ejes/attribute/index.html
@@ -0,0 +1,8 @@
+---
+title: attribute
+slug: Web/XPath/Ejes/attribute
+translation_of: Web/XPath/Axes/attribute
+---
+<p>
+</p><p>El eje <code>attribute</code> indica los atributos del nodo de contexto. Sólo los elementos tienen atributos. Este eje se puede abreviar con el signo (<code>@</code>).
+</p>{{ languages( { "en": "en/XPath/Axes/attribute", "fr": "fr/XPath/Axes/attribute", "pl": "pl/XPath/Osie/attribute" } ) }}
diff --git a/files/es/web/xpath/ejes/child/index.html b/files/es/web/xpath/ejes/child/index.html
new file mode 100644
index 0000000000..97ded1fcb4
--- /dev/null
+++ b/files/es/web/xpath/ejes/child/index.html
@@ -0,0 +1,8 @@
+---
+title: child
+slug: Web/XPath/Ejes/child
+translation_of: Web/XPath/Axes/child
+---
+<p>
+</p><p>El eje <code>child</code> indica el hijo del nodo de contexto. Si una expresión XPath no especifica un eje, se entiende por defecto. Ya que sólo los nodos raiz o los nodos elementos tienen hijos, cualquier otro uso no seleccionará nada.
+</p>{{ languages( { "en": "en/XPath/Axes/child", "fr": "fr/XPath/Axes/child", "pl": "pl/XPath/Osie/child" } ) }}
diff --git a/files/es/web/xpath/ejes/descendant-or-self/index.html b/files/es/web/xpath/ejes/descendant-or-self/index.html
new file mode 100644
index 0000000000..42061ddf67
--- /dev/null
+++ b/files/es/web/xpath/ejes/descendant-or-self/index.html
@@ -0,0 +1,8 @@
+---
+title: descendant-or-self
+slug: Web/XPath/Ejes/descendant-or-self
+translation_of: Web/XPath/Axes/descendant-or-self
+---
+<p>
+</p><p>El eje <code>descendant-or-self</code> indica el nodo de contexto y todos sus descendientes. <b>No</b> se incluyen los nodos atributos y namespaces - el <code>parent</code> de un nodo <code>attribute</code> es un nodo elemento, pero los nodos <code>attribute</code> no son los hijos de sus padres.
+</p>{{ languages( { "en": "en/XPath/Axes/descendant-or-self", "fr": "fr/XPath/Axes/descendant-or-self", "pl": "pl/XPath/Osie/descendant-or-self" } ) }}
diff --git a/files/es/web/xpath/ejes/descendant/index.html b/files/es/web/xpath/ejes/descendant/index.html
new file mode 100644
index 0000000000..c6fcc26970
--- /dev/null
+++ b/files/es/web/xpath/ejes/descendant/index.html
@@ -0,0 +1,8 @@
+---
+title: descendant
+slug: Web/XPath/Ejes/descendant
+translation_of: Web/XPath/Axes/descendant
+---
+<p>
+</p><p>El eje <code>descendant</code> indica todos los hijos del nodo de contexto, y todos sus hijos y así sucesivamente. <b>No</b> se incluyen los atributos y namespaces - el <code>parent</code> de un nodo <code>attribute</code> es un nodo elemento, pero los nodos <code>attribute</code> no son los hijos de sus padres.
+</p>{{ languages( { "en": "en/XPath/Axes/descendant", "fr": "fr/XPath/Axes/descendant", "pl": "pl/XPath/Osie/descendant" } ) }}
diff --git a/files/es/web/xpath/ejes/following-sibling/index.html b/files/es/web/xpath/ejes/following-sibling/index.html
new file mode 100644
index 0000000000..73e42a2e7d
--- /dev/null
+++ b/files/es/web/xpath/ejes/following-sibling/index.html
@@ -0,0 +1,8 @@
+---
+title: following-sibling
+slug: Web/XPath/Ejes/following-sibling
+translation_of: Web/XPath/Axes/following-sibling
+---
+<p>
+El eje <code>following-sibling</code> indica todos los nodos que tienen el mismo padre que el nodo de contexto y aparecen después del nodo de contexto en el documento de origen.
+</p>{{ languages( { "en": "en/XPath/Axes/following-sibling", "fr": "fr/XPath/Axes/following-sibling", "pl": "pl/XPath/Osie/following-sibling" } ) }}
diff --git a/files/es/web/xpath/ejes/following/index.html b/files/es/web/xpath/ejes/following/index.html
new file mode 100644
index 0000000000..190491a345
--- /dev/null
+++ b/files/es/web/xpath/ejes/following/index.html
@@ -0,0 +1,8 @@
+---
+title: following
+slug: Web/XPath/Ejes/following
+translation_of: Web/XPath/Axes/following
+---
+<p>
+El eje <code>following</code> indica todos los nodos que aparecen después del nodo de contexto, excepto cualquier nodo <code>descendant</code>, <code>attribute</code> y <code>namespace</code>.
+</p>{{ languages( { "en": "en/XPath/Axes/following", "fr": "fr/XPath/Axes/following", "pl": "pl/XPath/Osie/following" } ) }}
diff --git a/files/es/web/xpath/ejes/index.html b/files/es/web/xpath/ejes/index.html
new file mode 100644
index 0000000000..ebaed0b7be
--- /dev/null
+++ b/files/es/web/xpath/ejes/index.html
@@ -0,0 +1,47 @@
+---
+title: Ejes
+slug: Web/XPath/Ejes
+tags:
+ - Todas_las_Categorías
+ - XPath
+ - XSLT
+translation_of: Web/XPath/Axes
+---
+<p>{{XsltRef}}Existen trece ejes diferentes en la especificación <a href="es/XPath">XPath</a>. Un eje representa una relación con el nodo de contexto, y se utiliza para localizar nodos relativos a ese nodo en el arbol. Lo siguiente es una descripción resumida de los trece ejes disponibles y el grado de soporte disponible en <a href="es/Gecko">Gecko</a>.</p>
+
+<p>Para mas información sobre el uso de las expresiones XPath, por favor vea la sección <a href="es/Transformando_XML_con_XSLT/Para_Futuras_Lecturas">Para Futuras Lecturas</a> al final del documento de <a href="es/Transformando_XML_con_XSLT">Transformando XML con XSLT</a>.</p>
+
+<p> </p>
+
+<dl>
+ <dt><a href="es/XPath/Ejes/ancestor">ancestor</a></dt>
+ <dd>Indica todos los antecesores del nodo de contexto comenzando con el nodo padre y viajando hacia el nodo raiz.</dd>
+ <dt><a href="es/XPath/Ejes/ancestor-or-self">ancestor-or-self</a></dt>
+ <dd>Indica el nodo de contexto y todos sus antecesores, incluyendo el nodo raiz.</dd>
+ <dt><a href="es/XPath/Ejes/attribute">attribute</a></dt>
+ <dd>Indica los atributos del nodo de contexto. Sólo los elementos tienen atributos. Este eje se puede abreviar con el signo (<code>@</code>).</dd>
+ <dt><a href="es/XPath/Ejes/child">child</a></dt>
+ <dd>Indica el hijo del nodo de contexto. Si una expresión XPath no especifica un eje, se entiende por defecto. Ya que sólo los nodos raiz o los nodos elementos tienen hijos, cualquier otro uso no seleccionará nada.</dd>
+ <dt><a href="es/XPath/Ejes/descendant">descendant</a></dt>
+ <dd>Indica todos los hijos del nodo de contexto, y todos sus hijos y así sucesivamente. <strong>No</strong> se incluyen los atributos y namespaces - el <code>parent</code> de un nodo <code>attribute</code> es un nodo elemento, pero los nodos <code>attribute</code> no son los hijos de sus padres.</dd>
+ <dt><a href="es/XPath/Ejes/descendant-or-self">descendant-or-self</a></dt>
+ <dd>Indica el nodo de contexto y todos sus descendientes. <strong>No</strong> se incluyen los nodos atributos y namespaces - el <code>parent</code> de un nodo <code>attribute</code> es un nodo elemento, pero los nodos <code>attribute</code> no son los hijos de sus padres.</dd>
+ <dt><a href="es/XPath/Ejes/following">following</a></dt>
+ <dd>Indica todos los nodos que aparecen después del nodo de contexto, excepto cualquier nodo <code>descendant</code>, <code>attribute</code> y <code>namespace</code>.</dd>
+ <dt><a href="es/XPath/Ejes/following-sibling">following-sibling</a></dt>
+ <dd>Indica todos los nodos que tienen el mismo padre que el nodo de contexto y aparecen después del nodo de contexto en el documento de origen.</dd>
+ <dt><a href="es/XPath/Ejes/namespace">namespace</a><em>(no soportado)</em></dt>
+ <dd>Indica todos los nodos que están en el ámbito del nodo de contexto. En este caso, el nodo de contexto debe tener un nodo elemento.</dd>
+ <dt><a href="es/XPath/Ejes/parent">parent</a></dt>
+ <dd>Indica el único nodo que es el padre del nodo de contexto. Se puede abreviar con dos puntos (<code>..</code>).</dd>
+ <dt><a href="es/XPath/Ejes/preceding">preceding</a></dt>
+ <dd>Indica todos los nodos que preceden al nodo de contexto en el documento excepto cualquier nodo <code>ancestor</code>, <code>attribute</code> y <code>namespace</code>.</dd>
+ <dt><a href="es/XPath/Ejes/preceding-sibling">preceding-sibling</a></dt>
+ <dd>Indica todos los nodos que tienen el mismo padre que el nodo de contexto y aparecen antes que el nodo de contexto en el documento de origen.</dd>
+ <dt><a href="es/XPath/Ejes/self">self</a></dt>
+ <dd>Indica el nodo de contexto si mismo. Se puede abreviar con un solo punto (<code>.</code>).</dd>
+</dl>
+
+<p><span class="comment">Categorias</span></p>
+
+<p><span class="comment">interwiki links</span></p>
diff --git a/files/es/web/xpath/ejes/namespace/index.html b/files/es/web/xpath/ejes/namespace/index.html
new file mode 100644
index 0000000000..aa24e4ac1f
--- /dev/null
+++ b/files/es/web/xpath/ejes/namespace/index.html
@@ -0,0 +1,9 @@
+---
+title: namespace
+slug: Web/XPath/Ejes/namespace
+translation_of: Web/XPath/Axes/namespace
+---
+<p>
+<i>(not supported)</i>
+</p><p>El eje <code>namespace</code> indica todos los nodos que están en el ámbito del nodo de contexto. En este caso, el nodo de contexto debe tener un nodo elemento.
+</p>{{ languages( { "en": "en/XPath/Axes/namespace", "fr": "fr/XPath/Axes/namespace", "pl": "pl/XPath/Osie/namespace" } ) }}
diff --git a/files/es/web/xpath/ejes/parent/index.html b/files/es/web/xpath/ejes/parent/index.html
new file mode 100644
index 0000000000..ad56a7ec63
--- /dev/null
+++ b/files/es/web/xpath/ejes/parent/index.html
@@ -0,0 +1,8 @@
+---
+title: parent
+slug: Web/XPath/Ejes/parent
+translation_of: Web/XPath/Axes/parent
+---
+<p>
+El eje <code>parent</code> indica el único nodo que es el padre del nodo de contexto. Se puede abreviar con dos puntos (<code>..</code>).
+</p>{{ languages( { "en": "en/XPath/Axes/parent", "fr": "fr/XPath/Axes/parent", "pl": "pl/XPath/Osie/parent" } ) }}
diff --git a/files/es/web/xpath/ejes/preceding-sibling/index.html b/files/es/web/xpath/ejes/preceding-sibling/index.html
new file mode 100644
index 0000000000..d713cfcdf5
--- /dev/null
+++ b/files/es/web/xpath/ejes/preceding-sibling/index.html
@@ -0,0 +1,8 @@
+---
+title: preceding-sibling
+slug: Web/XPath/Ejes/preceding-sibling
+translation_of: Web/XPath/Axes/preceding-sibling
+---
+<p>
+El eje <code>preceding-sibling</code> indica todos los nodos que tienen el mismo padre que el nodo de contexto y aparecen antes que el nodo de contexto en el documento de origen.
+</p>{{ languages( { "en": "en/XPath/Axes/preceding-sibling", "fr": "fr/XPath/Axes/preceding-sibling", "pl": "pl/XPath/Osie/preceding-sibling" } ) }}
diff --git a/files/es/web/xpath/ejes/preceding/index.html b/files/es/web/xpath/ejes/preceding/index.html
new file mode 100644
index 0000000000..cd4b702ca2
--- /dev/null
+++ b/files/es/web/xpath/ejes/preceding/index.html
@@ -0,0 +1,8 @@
+---
+title: preceding
+slug: Web/XPath/Ejes/preceding
+translation_of: Web/XPath/Axes/preceding
+---
+<p>
+El eje <code>preceding</code> indica todos los nodos que preceden al nodo de contexto en el documento excepto cualquier nodo <code>ancestor</code>, <code>attribute</code> y <code>namespace</code>.
+</p>{{ languages( { "en": "en/XPath/Axes/preceding", "fr": "fr/XPath/Axes/preceding", "pl": "pl/XPath/Osie/preceding" } ) }}
diff --git a/files/es/web/xpath/funciones/contains/index.html b/files/es/web/xpath/funciones/contains/index.html
new file mode 100644
index 0000000000..59af049973
--- /dev/null
+++ b/files/es/web/xpath/funciones/contains/index.html
@@ -0,0 +1,32 @@
+---
+title: contains
+slug: Web/XPath/Funciones/contains
+translation_of: Web/XPath/Functions/contains
+---
+<p>
+{{ XsltRef() }}
+</p><p><br>
+La función <code>contains</code> determina si la primera cadena del argumento contiene la segunda cadena del argumento y devuelve el booleano verdadero o falso.
+</p>
+<h3 id="Sintaxis" name="Sintaxis"> Sintaxis </h3>
+<pre class="eval">contains( <i>haystack</i> , <i>needle</i> )
+</pre>
+<h3 id="Argumentos" name="Argumentos"> Argumentos </h3>
+<dl><dt><code><i>haystack</i></code>
+</dt><dd>La cadena donde buscar
+</dd></dl>
+<dl><dt><code><i>needle</i></code>
+</dt><dd>La subcadena a buscar en <code><i>haystack</i></code>
+</dd></dl>
+<h3 id="Devuelve" name="Devuelve"> Devuelve </h3>
+<p><code>true</code> si <code><i>haystack</i></code> contiene <code><i>needle</i></code>. Si no, <code>false</code>.
+</p>
+<h3 id="Definido" name="Definido"> Definido </h3>
+<p><a href="http://www.w3.org/TR/xpath#function-contains" class="external">XPath 1.0 4.2</a>
+</p>
+<h3 id="Soporte_en_Gecko" name="Soporte_en_Gecko"> Soporte en Gecko </h3>
+<p>Soportado.
+</p>
+<div class="noinclude">
+</div>
+{{ languages( { "en": "en/XPath/Functions/contains", "fr": "fr/XPath/Fonctions/contains", "ja": "ja/XPath/Functions/contains", "pl": "pl/XPath/Funkcje/contains" } ) }}
diff --git a/files/es/web/xpath/funciones/index.html b/files/es/web/xpath/funciones/index.html
new file mode 100644
index 0000000000..9c0fdd8af4
--- /dev/null
+++ b/files/es/web/xpath/funciones/index.html
@@ -0,0 +1,54 @@
+---
+title: Funciones
+slug: Web/XPath/Funciones
+tags:
+ - Referência_XPath
+ - Referência_XSLT
+ - Transformando_XML_con_XSLT
+ - XPath
+ - XSLT
+translation_of: Web/XPath/Functions
+---
+<p>{{ XsltRef() }} A continuación se presenta una lista ordenada de las funciones core de <font color="#0066cc">XPath</font> y agregados específicos de <font color="#0066cc">XSLT </font>a XPath, incluyendo una descripción, sintaxis, un listado de argumentos, tipo de resultado, referencia apopiada a W3C y el estado actual de soporte en el motor <font color="#0066cc">Gecko</font>. para más información sobre el uso de las funciones de XPath/XSLT, por favor vea la página <a href="/en/Transforming_XML_with_XSLT/For_Further_Reading" title="en/Transforming_XML_with_XSLT/For_Further_Reading"><u><font color="#0066cc">Para más información</font></u></a>.</p>
+
+<ul>
+ <li><a href="/en/XPath/Functions/boolean" title="en/XPath/Functions/boolean">boolean()</a></li>
+ <li><a href="/en/XPath/Functions/ceiling" title="en/XPath/Functions/ceiling">ceiling()</a></li>
+ <li><a href="/en/XPath/Functions/choose" title="en/XPath/Functions/choose">choose()</a></li>
+ <li><a href="/en/XPath/Functions/concat" title="en/XPath/Functions/concat">concat()</a></li>
+ <li><a href="/en/XPath/Functions/contains" title="en/XPath/Functions/contains">contains()</a></li>
+ <li><a href="/en/XPath/Functions/count" title="en/XPath/Functions/count">count()</a></li>
+ <li><a href="/en/XPath/Functions/current" title="en/XPath/Functions/current">current()</a> <em>Específico de XSLT</em></li>
+ <li><a href="/en/XPath/Functions/document" title="en/XPath/Functions/document">document()</a> <em>Específico de XSLT</em></li>
+ <li><a href="/en/XPath/Functions/element-available" title="en/XPath/Functions/element-available">element-available()</a></li>
+ <li><a href="/en/XPath/Functions/false" title="en/XPath/Functions/false">false()</a></li>
+ <li><a href="/en/XPath/Functions/floor" title="en/XPath/Functions/floor">floor()</a></li>
+ <li><a href="/en/XPath/Functions/format-number" title="en/XPath/Functions/format-number">format-number()</a> <em>Específico de XSLT</em></li>
+ <li><a href="/en/XPath/Functions/function-available" title="en/XPath/Functions/function-available">function-available()</a></li>
+ <li><a href="/en/XPath/Functions/generate-id" title="en/XPath/Functions/generate-id">generate-id()</a> <em>Específico de XSLT</em></li>
+ <li><a href="/en/XPath/Functions/id" title="en/XPath/Functions/id">id()</a> <em>(Parcialmente soportado)</em></li>
+ <li><a href="/en/XPath/Functions/key" title="en/XPath/Functions/key">key()</a> <em>Específico de XSLT</em></li>
+ <li><a href="/en/XPath/Functions/lang" title="en/XPath/Functions/lang">lang()</a></li>
+ <li><a href="/en/XPath/Functions/last" title="en/XPath/Functions/last">last()</a></li>
+ <li><a href="/en/XPath/Functions/local-name" title="en/XPath/Functions/local-name">local-name()</a></li>
+ <li><a href="/en/XPath/Functions/name" title="en/XPath/Functions/name">name()</a></li>
+ <li><a href="/en/XPath/Functions/namespace-uri" title="en/XPath/Functions/namespace-uri">namespace-uri()</a></li>
+ <li><a href="/en/XPath/Functions/normalize-space" title="en/XPath/Functions/normalize-space">normalize-space()</a></li>
+ <li><a href="/en/XPath/Functions/not" title="en/XPath/Functions/not">not()</a></li>
+ <li><a href="/en/XPath/Functions/number" title="en/XPath/Functions/number">number()</a></li>
+ <li><a href="/en/XPath/Functions/position" title="en/XPath/Functions/position">position()</a></li>
+ <li><a href="/en/XPath/Functions/round" title="en/XPath/Functions/round">round()</a></li>
+ <li><a href="/en/XPath/Functions/starts-with" title="en/XPath/Functions/starts-with">starts-with()</a></li>
+ <li><a href="/en/XPath/Functions/string" title="en/XPath/Functions/string">string()</a></li>
+ <li><a href="/en/XPath/Functions/string-length" title="en/XPath/Functions/string-length">string-length()</a></li>
+ <li><a href="/en/XPath/Functions/substring" title="en/XPath/Functions/substring">substring()</a></li>
+ <li><a href="/en/XPath/Functions/substring-after" title="en/XPath/Functions/substring-after">substring-after()</a></li>
+ <li><a href="/en/XPath/Functions/substring-before" title="en/XPath/Functions/substring-before">substring-before()</a></li>
+ <li><a href="/en/XPath/Functions/sum" title="en/XPath/Functions/sum">sum()</a></li>
+ <li><a href="/en/XPath/Functions/system-property" title="en/XPath/Functions/system-property">system-property()</a> <em>Específico de XSLT</em></li>
+ <li><a href="/en/XPath/Functions/translate" title="en/XPath/Functions/translate">translate()</a></li>
+ <li><a href="/en/XPath/Functions/true" title="en/XPath/Functions/true">true()</a></li>
+ <li><a href="/en/XPath/Functions/unparsed-entity-url" title="en/XPath/Functions/unparsed-entity-url">unparsed-entity-url()</a> <em>Específico de XSLT (no soportado)</em></li>
+</ul>
+
+<p>{{ languages( { "fr": "fr/XPath/Fonctions", "ja": "ja/XPath/Functions", "zh-cn": "cn/XPath/Functions", "pl": "pl/XPath/Funkcje" , "ko": "ko/XPath/Functions"} ) }}</p>
diff --git a/files/es/web/xpath/funciones/substring/index.html b/files/es/web/xpath/funciones/substring/index.html
new file mode 100644
index 0000000000..96c5ec585b
--- /dev/null
+++ b/files/es/web/xpath/funciones/substring/index.html
@@ -0,0 +1,37 @@
+---
+title: substring
+slug: Web/XPath/Funciones/substring
+translation_of: Web/XPath/Functions/substring
+---
+<p>
+{{ XsltRef() }}
+</p><p><br>
+La función <code>substring</code> devuelve una parte de una cadena dada.
+</p>
+<h3 id="Sintaxis" name="Sintaxis"> Sintaxis </h3>
+<pre class="eval">substring( <i>string</i> , <i>start</i> [, <i>length</i>] )
+</pre>
+<h3 id="Argumentos" name="Argumentos"> Argumentos </h3>
+<dl><dt><i><code>string</code></i> </dt><dd>La cadena a evaluar.
+</dd></dl>
+<dl><dt><i><code>start</code></i>
+</dt><dd>La posición dentro de <i><code>string</code></i> donde comienza la subcadena.
+</dd></dl>
+<dl><dt><i><code>length</code></i> (opcional)
+</dt><dd>La longitud de la subcadena. Si se omite, la cadena devuelta contendrá todos los carácteres desde la posición <i><code>start</code></i> hasta el final de <i><code>string</code></i>.
+</dd></dl>
+<h3 id="Devuelve" name="Devuelve"> Devuelve </h3>
+<p>Una cadena.
+</p>
+<h3 id="Notas" name="Notas"> Notas </h3>
+<p>Como en otras funciones XPath, la posición no está basada en cero. El primer carácter de la cadena tiene la posición 1, no 0.
+</p>
+<h3 id="Definido" name="Definido"> Definido </h3>
+<p><a href="http://www.w3.org/TR/xpath#function-substring" class="external">XPath 1.0 4.2</a>
+</p>
+<h3 id="Soporte_en_Gecko" name="Soporte_en_Gecko"> Soporte en Gecko </h3>
+<p>Soportado.
+</p>
+<div class="noinclude">
+</div>
+{{ languages( { "en": "en/XPath/Functions/substring", "fr": "fr/XPath/Fonctions/substring", "ja": "ja/XPath/Functions/substring", "pl": "pl/XPath/Funkcje/substring" } ) }}
diff --git a/files/es/web/xpath/funciones/true/index.html b/files/es/web/xpath/funciones/true/index.html
new file mode 100644
index 0000000000..41ace4f289
--- /dev/null
+++ b/files/es/web/xpath/funciones/true/index.html
@@ -0,0 +1,29 @@
+---
+title: 'true'
+slug: Web/XPath/Funciones/true
+tags:
+ - Todas_las_Categorías
+ - XSLT
+translation_of: Web/XPath/Functions/true
+---
+<p>{{XsltRef}}</p>
+
+<p><br>
+ La función <code>true</code> devuelve un valor booleano de verdadero.</p>
+
+<h3 id="Sintaxis" name="Sintaxis">Sintaxis</h3>
+
+<pre class="eval">true()
+</pre>
+
+<h3 id="Devuelve" name="Devuelve">Devuelve</h3>
+
+<p>El booleano <code>verdadero</code>.</p>
+
+<h3 id="Definido" name="Definido">Definido</h3>
+
+<p><a class="external" href="http://www.w3.org/TR/xpath#function-true">XPath 1.0 4.3</a></p>
+
+<h3 id="Soporte_en_Gecko" name="Soporte_en_Gecko">Soporte en Gecko</h3>
+
+<p>Supported.</p>
diff --git a/files/es/web/xpath/index.html b/files/es/web/xpath/index.html
new file mode 100644
index 0000000000..2de84c49c9
--- /dev/null
+++ b/files/es/web/xpath/index.html
@@ -0,0 +1,14 @@
+---
+title: XPath
+slug: Web/XPath
+tags:
+ - Todas_las_Categorías
+ - XPath
+translation_of: Web/XPath
+---
+<p>El <strong>Lenguaje de Caminos XML</strong> proporciona un modo flexible de dirigirse (señalando a) a las distintas partes de un documento XML. También puede ser usado para cotejar nodos y determinar si encajan un modelo o no.</p>
+<p>XPath es principalmente usado con <a href="/es/XSLT" title="es/XSLT">XSLT</a>, pero también puede ser usado como un modo mucho más eficaz de navegar por el DOM de cualquier documento basado en XML, como <a href="/es/XHTML" title="es/XHTML">XHTML</a> y <a href="/es/XUL" title="es/XUL">XUL</a>, en vez de confiar en el método <code>getElementById</code>, las propiedades <code>childNodes</code>, etc.</p>
+<p>XPath usa una notación de caminos (como en los URLs) para navegar por la estructura jerárquica de un documento XML. Su sintaxis no es XML para que pueda ser usado en URIs o en valores de atributos XML.</p>
+<table class="topicpage-table"> <tbody> <tr> <td> <h4 id="Documentaci.C3.B3n"><a href="/Special:Tags?tag=XPath&amp;language=es" title="Special:Tags?tag=XPath&amp;language=es">Documentación</a></h4> <dl> <dt><a class="external" href="http://www.sidar.org/recur/desdi/traduc/es/xml/xpath.html">Especificación de XPath 1.0</a></dt> <dd><small>Este documento es una traducción al castellano de la Recomendación del W3C: "XML Path Language (XPath) Version 1.0".</small></dd> </dl> <dl> <dt><a href="/es/XPath/Ejes" title="es/XPath/Ejes">XPath:Ejes</a></dt> <dd><small>Listado y descripción de los ejes definidos en la especificación de XPath. Los ejes se usan para describir las relaciones entre los nodos de un documento.</small></dd> </dl> <dl> <dt><a href="/es/XPath/Funciones" title="es/XPath/Funciones">XPath:Funciones</a></dt> <dd><small>List and description of the core XPath functions and XSLT-specific additions to XPath.</small></dd> </dl> <dl> <dt><a href="/es/Transformando_XML_con_XSLT" title="es/Transformando_XML_con_XSLT">Transformando XML con XSLT</a></dt> <dd><small>XSLT usa XPath para señalar la dirección de los fragmentos de código en documentos XML que se quieren transformar.</small></dd> </dl> <dl> <dt><a class="external" href="http://www.zvon.org/xxl/XPathTutorial/General_spa/examples.html">Tutorial de XPath </a></dt> <dd><small>Tutorial basado en ejemplos que te ayudaran a dar tus primeros pasos.</small></dd> </dl> <p><span><a href="/Special:Tags?tag=XPath&amp;language=es" title="Special:Tags?tag=XPath&amp;language=es">Ver más...</a></span></p> </td> <td> <h4 id="Comunidad">Comunidad</h4> <h4 id="Herramientas">Herramientas</h4> <h4 id="Temas_relacionados">Temas relacionados</h4> <dl> <dd><a href="/es/XSLT" title="es/XSLT">XSLT</a>, <a href="/es/XML" title="es/XML">XML</a>, <a href="/es/DOM" title="es/DOM">DOM</a></dd> </dl> <p> </p> </td> </tr> </tbody>
+</table>
+<p>{{ languages( { "cs": "cs/XPath", "en": "en/XPath", "fr": "fr/XPath", "ja": "ja/XPath", "ko": "ko/XPath", "pl": "pl/XPath", "zh-cn": "cn/XPath" } ) }}</p>