From a55b575e8089ee6cab7c5c262a7e6db55d0e34d6 Mon Sep 17 00:00:00 2001 From: Florian Merz Date: Thu, 11 Feb 2021 14:46:50 +0100 Subject: unslug es: move --- files/es/web/xslt/apply-imports/index.html | 36 ----- files/es/web/xslt/apply-templates/index.html | 43 ------ files/es/web/xslt/attribute-set/index.html | 43 ------ files/es/web/xslt/attribute/index.html | 43 ------ files/es/web/xslt/call-template/index.html | 40 ----- files/es/web/xslt/choose/index.html | 37 ----- files/es/web/xslt/comment/index.html | 37 ----- files/es/web/xslt/copy-of/index.html | 38 ----- files/es/web/xslt/copy/index.html | 40 ----- files/es/web/xslt/decimal-format/index.html | 99 ------------ files/es/web/xslt/element/apply-imports/index.html | 36 +++++ .../es/web/xslt/element/apply-templates/index.html | 43 ++++++ files/es/web/xslt/element/attribute-set/index.html | 43 ++++++ files/es/web/xslt/element/attribute/index.html | 43 ++++++ files/es/web/xslt/element/call-template/index.html | 40 +++++ files/es/web/xslt/element/choose/index.html | 37 +++++ files/es/web/xslt/element/comment/index.html | 37 +++++ files/es/web/xslt/element/copy-of/index.html | 38 +++++ files/es/web/xslt/element/copy/index.html | 40 +++++ .../es/web/xslt/element/decimal-format/index.html | 99 ++++++++++++ files/es/web/xslt/element/fallback/index.html | 38 +++++ files/es/web/xslt/element/for-each/index.html | 42 +++++ files/es/web/xslt/element/if/index.html | 39 +++++ files/es/web/xslt/element/import/index.html | 39 +++++ files/es/web/xslt/element/include/index.html | 39 +++++ files/es/web/xslt/element/key/index.html | 44 ++++++ files/es/web/xslt/element/message/index.html | 40 +++++ .../es/web/xslt/element/namespace-alias/index.html | 42 +++++ files/es/web/xslt/element/number/index.html | 169 +++++++++++++++++++++ files/es/web/xslt/element/otherwise/index.html | 37 +++++ files/es/web/xslt/element/when/index.html | 40 +++++ files/es/web/xslt/element/with-param/index.html | 43 ++++++ files/es/web/xslt/fallback/index.html | 38 ----- files/es/web/xslt/for-each/index.html | 42 ----- files/es/web/xslt/if/index.html | 39 ----- files/es/web/xslt/import/index.html | 39 ----- files/es/web/xslt/include/index.html | 39 ----- files/es/web/xslt/key/index.html | 44 ------ files/es/web/xslt/message/index.html | 40 ----- files/es/web/xslt/namespace-alias/index.html | 42 ----- files/es/web/xslt/number/index.html | 169 --------------------- files/es/web/xslt/otherwise/index.html | 37 ----- .../web/xslt/transformando_xml_con_xslt/index.html | 112 -------------- .../web/xslt/transforming_xml_with_xslt/index.html | 112 ++++++++++++++ files/es/web/xslt/when/index.html | 40 ----- files/es/web/xslt/with-param/index.html | 43 ------ 46 files changed, 1180 insertions(+), 1180 deletions(-) delete mode 100644 files/es/web/xslt/apply-imports/index.html delete mode 100644 files/es/web/xslt/apply-templates/index.html delete mode 100644 files/es/web/xslt/attribute-set/index.html delete mode 100644 files/es/web/xslt/attribute/index.html delete mode 100644 files/es/web/xslt/call-template/index.html delete mode 100644 files/es/web/xslt/choose/index.html delete mode 100644 files/es/web/xslt/comment/index.html delete mode 100644 files/es/web/xslt/copy-of/index.html delete mode 100644 files/es/web/xslt/copy/index.html delete mode 100644 files/es/web/xslt/decimal-format/index.html create mode 100644 files/es/web/xslt/element/apply-imports/index.html create mode 100644 files/es/web/xslt/element/apply-templates/index.html create mode 100644 files/es/web/xslt/element/attribute-set/index.html create mode 100644 files/es/web/xslt/element/attribute/index.html create mode 100644 files/es/web/xslt/element/call-template/index.html create mode 100644 files/es/web/xslt/element/choose/index.html create mode 100644 files/es/web/xslt/element/comment/index.html create mode 100644 files/es/web/xslt/element/copy-of/index.html create mode 100644 files/es/web/xslt/element/copy/index.html create mode 100644 files/es/web/xslt/element/decimal-format/index.html create mode 100644 files/es/web/xslt/element/fallback/index.html create mode 100644 files/es/web/xslt/element/for-each/index.html create mode 100644 files/es/web/xslt/element/if/index.html create mode 100644 files/es/web/xslt/element/import/index.html create mode 100644 files/es/web/xslt/element/include/index.html create mode 100644 files/es/web/xslt/element/key/index.html create mode 100644 files/es/web/xslt/element/message/index.html create mode 100644 files/es/web/xslt/element/namespace-alias/index.html create mode 100644 files/es/web/xslt/element/number/index.html create mode 100644 files/es/web/xslt/element/otherwise/index.html create mode 100644 files/es/web/xslt/element/when/index.html create mode 100644 files/es/web/xslt/element/with-param/index.html delete mode 100644 files/es/web/xslt/fallback/index.html delete mode 100644 files/es/web/xslt/for-each/index.html delete mode 100644 files/es/web/xslt/if/index.html delete mode 100644 files/es/web/xslt/import/index.html delete mode 100644 files/es/web/xslt/include/index.html delete mode 100644 files/es/web/xslt/key/index.html delete mode 100644 files/es/web/xslt/message/index.html delete mode 100644 files/es/web/xslt/namespace-alias/index.html delete mode 100644 files/es/web/xslt/number/index.html delete mode 100644 files/es/web/xslt/otherwise/index.html delete mode 100644 files/es/web/xslt/transformando_xml_con_xslt/index.html create mode 100644 files/es/web/xslt/transforming_xml_with_xslt/index.html delete mode 100644 files/es/web/xslt/when/index.html delete mode 100644 files/es/web/xslt/with-param/index.html (limited to 'files/es/web/xslt') diff --git a/files/es/web/xslt/apply-imports/index.html b/files/es/web/xslt/apply-imports/index.html deleted file mode 100644 index 05d3429202..0000000000 --- a/files/es/web/xslt/apply-imports/index.html +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: apply-imports -slug: Web/XSLT/apply-imports -tags: - - Todas_las_Categorías - - XSLT -translation_of: Web/XSLT/Element/apply-imports ---- -

{{XsltRef}}

- -


- El elemento <xsl:apply-imports> es complejo en su uso, y es utilizado mayoritariamente en hojas de estilo muy complejas. La precedencia de importación indica que las plantillas en la hoja de estilo principal tienen mayor precedencia que las plantillas en las hojas de estilo importadas. Sin embargo, en ocasiones es útil forzar al procesador para que aplique una plantilla de menor procedencia contenida en la hoja de estilo importada en lugar de una plantilla equivalente en la hoja de estilo principal.

- -

Sintaxis

- -
<xsl:apply-imports/>
- -

Atributos requeridos

- -

Ninguno.

- -

Atributos opcionales

- -

Ninguno.

- -

Tipo

- -

Instrucción, aparece dentro de una plantilla.

- -

Definido

- -

XSLT, sección 5.6.

- -

Soporte en Gecko

- -

Soportado.

diff --git a/files/es/web/xslt/apply-templates/index.html b/files/es/web/xslt/apply-templates/index.html deleted file mode 100644 index cb4063eada..0000000000 --- a/files/es/web/xslt/apply-templates/index.html +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: apply-templates -slug: Web/XSLT/apply-templates -tags: - - Todas_las_Categorías - - XSLT -translation_of: Web/XSLT/Element/apply-templates ---- -

{{XsltRef}}

- -

El elemento <xsl:apply-templates> selecciona un conjunto de nodos del documento de entrada e instruye al procesador para aplicar las plantillas apropiadas a ellos.

- -

Sintaxis

- -
<xsl:apply-templates select=EXPRESION mode=NOMBRE>
-	<xsl:with-param> [opcional]
-	<xsl:sort> [opcional]
-</xsl:apply-templates>
- -

Atributos requeridos

- -

Ninguno.

- -

Atributos opcionales

- -
-
select
-
Usa una expresión XPath para indicar los nodos a ser procesados. Un asterisco(*) selecciona por completo el conjunto de nodos. Si el atributo no se establece, todos los nodos hijos del nodo actual son seleccionados.
-
mode
-
Si existend diferentes maneras definidas de procesar el mismo nodo, se distingue entre ellas.
-
- -

Tipo

- -

Instrucción, aparece dentro de una plantilla.

- -

Definido

- -

XSLT sección 5.4.

- -

Soporte en Gecko

- -

Soportado.

diff --git a/files/es/web/xslt/attribute-set/index.html b/files/es/web/xslt/attribute-set/index.html deleted file mode 100644 index c202895db0..0000000000 --- a/files/es/web/xslt/attribute-set/index.html +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: attribute-set -slug: Web/XSLT/attribute-set -tags: - - Todas_las_Categorías - - XSLT -translation_of: Web/XSLT/Element/attribute-set ---- -

{{XsltRef}}

- -

El elemento <xsl:attribute-set> genera un conjunto con nombre de atributos, el cual puede ser aplicado al documento de salida, de una manera similar a los estilos con nombre dentro de CSS.

- -

Sintaxi

- -
<xsl:attribute-set name=NOMBRE use-attribute-sets=LISTA-DE-NOMBRES>
-	<xsl:attribute>
-</xsl:attribute-set>
- -

Atributos requeridos

- -
-
name
-
Indica el nombre del conjunto de elementos. El nombre debe seguir las reglas QName.
-
- -

Atributos opcionales

- -
-
use-attribute-sets
-
Genera un conjunto de elementos a partir de otros conjuntos de atributos. Los nombres de los conjuntos deben estar separados por espacios en blanco y no se deben solapar directa o indirectamente.
-
- -

Tipo

- -

Debe ser hijo del elemento <xsl:stylesheet> o <xsl:transform>.

- -

Definido

- -

XSLT, sección 7.1.4.

- -

Soporte en Gecko

- -

Soportado

diff --git a/files/es/web/xslt/attribute/index.html b/files/es/web/xslt/attribute/index.html deleted file mode 100644 index 91d7985678..0000000000 --- a/files/es/web/xslt/attribute/index.html +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: attribute -slug: Web/XSLT/attribute -tags: - - Todas_las_Categorías - - XSLT -translation_of: Web/XSLT/Element/attribute ---- -

{{XsltRef}}

- -

El elemento <xsl:attribute> genera un atributo en el documento de salida, usando cualquier valor que puede ser accedido desde la hoja de estilo. Este elemento tiene que ser la primer cosa que se encuentre dentro del elemento del documento de salida para el cual se desea generar el atributo.

- -

Sintaxis

- -
<xsl:attribute name=NOMBRE namespace=URI>
-	PLANTILLA
-</xsl:attribute>
- -

Atributos requeridos

- -
-
name
-
Indica el nombre del atributo a ser generado en el documento de salida. El nombre debe seguir las reglas de QName.
-
- -

Atributos opcionales

- -
-
namespace
-
Define el URI del nombre de espacio para el atributo en el documento de salida. No se puede especificar el prefijo del nombre de espacio con este elemento.
-
- -

Tipo

- -

Instrucción, aparece dentro de una plantilla o dentro del elemento <xsl:attribute-set>.

- -

Definido

- -

XSLT, sección 7.1.3.

- -

Soporte en Gecko

- -

Soportado.

diff --git a/files/es/web/xslt/call-template/index.html b/files/es/web/xslt/call-template/index.html deleted file mode 100644 index deba6a8adb..0000000000 --- a/files/es/web/xslt/call-template/index.html +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: call-template -slug: Web/XSLT/call-template -tags: - - Todas_las_Categorías - - XSLT -translation_of: Web/XSLT/Element/call-template ---- -

{{XsltRef}}

- -

El elemento <xsl:call-template> invoca una plantilla con nombre.

- -

Sintaxis

- -
<xsl:call-template name=NOMBRE>
-	<xsl:with-param> [opcional]
-</xsl:call-template>
- -

Atributos requeridos

- -
-
name
-
Indica el nombre del template que se desea invocar.
-
- -

Atributos opcionales

- -

Ninguno.

- -

Tipo

- -

Instrucción, aparece dentro de una plantilla.

- -

Definido

- -

XSLT, sección 6.

- -

Soporte en Gecko

- -

Soportado.

diff --git a/files/es/web/xslt/choose/index.html b/files/es/web/xslt/choose/index.html deleted file mode 100644 index 10dd0a2f5f..0000000000 --- a/files/es/web/xslt/choose/index.html +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: choose -slug: Web/XSLT/choose -tags: - - Todas_las_Categorías - - XSLT -translation_of: Web/XSLT/Element/choose ---- -

{{XsltRef}}
- El elemento <xsl:choose> define una elección entre un número de alternativas. Funciona como una sentencia switch en los lenguajes procedurales.

- -

Sintaxis

- -
<xsl:choose>
-	<xsl:when>
-	<xsl:otherwise> [opcional]
-</<xsl:choose>
- -

Atributos necesarios

- -

Ninguno.

- -

Atributos opcionales

- -

Ninguno.

- -

Tipo

- -

Instrucción, aparece con una plantilla. Contiene uno o mas elementos <xsl:when>, y, opcionalmente, un elemento <xsl:otherwise> final.

- -

Definido

- -

XSLT, sección 9.2.

- -

Soporte en Gecko

- -

Soportado.

diff --git a/files/es/web/xslt/comment/index.html b/files/es/web/xslt/comment/index.html deleted file mode 100644 index a55f777703..0000000000 --- a/files/es/web/xslt/comment/index.html +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: comment -slug: Web/XSLT/comment -tags: - - Todas_las_Categorías - - XSLT -translation_of: Web/XSLT/Element/comment ---- -

{{XsltRef}}

- -

El elemento <xsl:comment> escribe un comentario en el documento de salida. Debe incluir sólo texto.

- -

Sintaxis

- -
<xsl:comment>
-	TEMPLATE
-</xsl:comment> 
- -

Atributos necesarios

- -

Ninguno.

- -

Atributos opcionales

- -

Ninguno.

- -

Tipo

- -

Instrucción, aparece dentro de una plantilla.

- -

Definido

- -

XSLT, sección 7.4.

- -

Soporte en Gecko

- -

Soportado.

diff --git a/files/es/web/xslt/copy-of/index.html b/files/es/web/xslt/copy-of/index.html deleted file mode 100644 index e4f2fbca2d..0000000000 --- a/files/es/web/xslt/copy-of/index.html +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: copy-of -slug: Web/XSLT/copy-of -tags: - - Todas_las_Categorías - - XSLT -translation_of: Web/XSLT/Element/copy-of ---- -

{{XsltRef}}

- -

El elemento <xsl:copy-of> crea una copia completa (incluyendo nodos descendientes) en el documento de salida de lo que sea que indique el atributo.

- -

Sintaxis

- -
<xsl:copy-of select=EXPRESIÓN />
- -

Atributos requeridos

- -
-
select
-
Indica la expresión XPath a utilizar para seleccionar lo que será copiado.
-
- -

Atributos opcionales

- -

Ninguno.

- -

Tipo

- -

Instrucción, aparece dentro de una plantilla.

- -

Definido

- -

XSLT, sección 11.3.

- -

Soporte en Gecko

- -

Soportado.

diff --git a/files/es/web/xslt/copy/index.html b/files/es/web/xslt/copy/index.html deleted file mode 100644 index 32ddbff1ae..0000000000 --- a/files/es/web/xslt/copy/index.html +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: copy -slug: Web/XSLT/copy -tags: - - Todas_las_Categorías - - XSLT -translation_of: Web/XSLT/Element/copy ---- -

{{XsltRef}}

- -

El elemento <xsl:copy> genera una copia superficial (el nodo y cualquier nodo del nombre de espacio asociado) del nodo actual al documento de salida. Este elemento no copia ni elementos hijo ni atributos del nodo actual.

- -

Sintaxis

- -
<xsl:copy use-attribute-sets=LISTA-DE-NOMBRES>
-	PLANTILLA
-</xsl:copy>
- -

Atributos requeridos

- -

Ninguno.

- -

Atributos opcionales

- -
-
use-attribute-sets
-
Lista conjunto de atributos que debería de ser aplicados al nodo de salida, si es un elemento. Los nombres del conjunto deben de estar separados por un espacio en blanco.
-
- -

Tipo

- -

Instrucción, aparece dentro de una plantilla.

- -

Definido

- -

XSLT, sección 7.5.

- -

Soporte en Gecko

- -

Suportado.

diff --git a/files/es/web/xslt/decimal-format/index.html b/files/es/web/xslt/decimal-format/index.html deleted file mode 100644 index e42e9ab149..0000000000 --- a/files/es/web/xslt/decimal-format/index.html +++ /dev/null @@ -1,99 +0,0 @@ ---- -title: decimal-format -slug: Web/XSLT/decimal-format -tags: - - Todas_las_Categorías - - XSLT -translation_of: Web/XSLT/Element/decimal-format ---- -

{{XsltRef}}

- -

El elemento <xsl:decimal-format> define los caracteres y los símbolos que serán usados en la conversión de números a cadenas de texto usando la función format-number( ).

- -

Sintaxis

- -
<xsl:decimal-format
-	name=NOMBRE
-	decimal-separator=CARACTER
-	grouping-separator=CARACTER
-	infinity=TEXTO
-	minus-sign=CARACTER
-	NaN=TEXTO
-	percent=CARACTER
-	per-mille=CARACTER
-	zero-digit=CARACTER
-	digit=CARACTER
-	pattern-separator=CARACTER />
- -

Atributos requeridos

- -

Ninguno.

- -

Atributos opcionales

- -
-
name
-
Indica el nombre que tendrá este formato.
-
- -
-
decimal-separator
-
Indica el caracter a ser usado como punto decimal. El valor por defecto es (.).
-
- -
-
grouping-separator
-
Indica el separador de miles. El valor por defecto es (,).
-
- -
-
infinity
-
Indica el texto a ser usado para representar el valor de infinito. El valor por defecto es la cadena de texto "Infinity".
-
- -
-
minus-sign
-
Indica el caracter a ser usado como signo negativo. El valor por defecto es el guión (-).
-
- -
-
NaN
-
Indica la cadena de texto a ser usado cuando el valor no es un número. El valor por defecto es la cadena de texto "NaN".
-
- -
-
percent
-
Indica el caracter a ser usado como signo de porcentaje. El valor por defecto es (%).
-
- -
-
per-mille
-
Indica el separador de miles. El valor por defecto es ().
-
- -
-
zero-digit
-
Indica el caracter para el cero. El valor por defecto es (0).
-
- -
-
digit
-
Indica el caracter a ser usado en los patrones de formato para indicar un dígito. El valor por defecto es (#).
-
- -
-
pattern-separator
-
Indica el caracter para separar patrones de formato negativos y positivos. El valor por defecto es el punto y coma (;).
-
- -

Tipo

- -

Elemento raíz, debe ser hijo de elemento <xsl:stylesheet> o <xsl:transform>.

- -

Definido

- -

XSLT, sección 12.3.

- -

Soporte en Gecko

- -

Soportado desde la versión 1.0 (Mozilla 1.0, Netscape 7.0).

diff --git a/files/es/web/xslt/element/apply-imports/index.html b/files/es/web/xslt/element/apply-imports/index.html new file mode 100644 index 0000000000..05d3429202 --- /dev/null +++ b/files/es/web/xslt/element/apply-imports/index.html @@ -0,0 +1,36 @@ +--- +title: apply-imports +slug: Web/XSLT/apply-imports +tags: + - Todas_las_Categorías + - XSLT +translation_of: Web/XSLT/Element/apply-imports +--- +

{{XsltRef}}

+ +


+ El elemento <xsl:apply-imports> es complejo en su uso, y es utilizado mayoritariamente en hojas de estilo muy complejas. La precedencia de importación indica que las plantillas en la hoja de estilo principal tienen mayor precedencia que las plantillas en las hojas de estilo importadas. Sin embargo, en ocasiones es útil forzar al procesador para que aplique una plantilla de menor procedencia contenida en la hoja de estilo importada en lugar de una plantilla equivalente en la hoja de estilo principal.

+ +

Sintaxis

+ +
<xsl:apply-imports/>
+ +

Atributos requeridos

+ +

Ninguno.

+ +

Atributos opcionales

+ +

Ninguno.

+ +

Tipo

+ +

Instrucción, aparece dentro de una plantilla.

+ +

Definido

+ +

XSLT, sección 5.6.

+ +

Soporte en Gecko

+ +

Soportado.

diff --git a/files/es/web/xslt/element/apply-templates/index.html b/files/es/web/xslt/element/apply-templates/index.html new file mode 100644 index 0000000000..cb4063eada --- /dev/null +++ b/files/es/web/xslt/element/apply-templates/index.html @@ -0,0 +1,43 @@ +--- +title: apply-templates +slug: Web/XSLT/apply-templates +tags: + - Todas_las_Categorías + - XSLT +translation_of: Web/XSLT/Element/apply-templates +--- +

{{XsltRef}}

+ +

El elemento <xsl:apply-templates> selecciona un conjunto de nodos del documento de entrada e instruye al procesador para aplicar las plantillas apropiadas a ellos.

+ +

Sintaxis

+ +
<xsl:apply-templates select=EXPRESION mode=NOMBRE>
+	<xsl:with-param> [opcional]
+	<xsl:sort> [opcional]
+</xsl:apply-templates>
+ +

Atributos requeridos

+ +

Ninguno.

+ +

Atributos opcionales

+ +
+
select
+
Usa una expresión XPath para indicar los nodos a ser procesados. Un asterisco(*) selecciona por completo el conjunto de nodos. Si el atributo no se establece, todos los nodos hijos del nodo actual son seleccionados.
+
mode
+
Si existend diferentes maneras definidas de procesar el mismo nodo, se distingue entre ellas.
+
+ +

Tipo

+ +

Instrucción, aparece dentro de una plantilla.

+ +

Definido

+ +

XSLT sección 5.4.

+ +

Soporte en Gecko

+ +

Soportado.

diff --git a/files/es/web/xslt/element/attribute-set/index.html b/files/es/web/xslt/element/attribute-set/index.html new file mode 100644 index 0000000000..c202895db0 --- /dev/null +++ b/files/es/web/xslt/element/attribute-set/index.html @@ -0,0 +1,43 @@ +--- +title: attribute-set +slug: Web/XSLT/attribute-set +tags: + - Todas_las_Categorías + - XSLT +translation_of: Web/XSLT/Element/attribute-set +--- +

{{XsltRef}}

+ +

El elemento <xsl:attribute-set> genera un conjunto con nombre de atributos, el cual puede ser aplicado al documento de salida, de una manera similar a los estilos con nombre dentro de CSS.

+ +

Sintaxi

+ +
<xsl:attribute-set name=NOMBRE use-attribute-sets=LISTA-DE-NOMBRES>
+	<xsl:attribute>
+</xsl:attribute-set>
+ +

Atributos requeridos

+ +
+
name
+
Indica el nombre del conjunto de elementos. El nombre debe seguir las reglas QName.
+
+ +

Atributos opcionales

+ +
+
use-attribute-sets
+
Genera un conjunto de elementos a partir de otros conjuntos de atributos. Los nombres de los conjuntos deben estar separados por espacios en blanco y no se deben solapar directa o indirectamente.
+
+ +

Tipo

+ +

Debe ser hijo del elemento <xsl:stylesheet> o <xsl:transform>.

+ +

Definido

+ +

XSLT, sección 7.1.4.

+ +

Soporte en Gecko

+ +

Soportado

diff --git a/files/es/web/xslt/element/attribute/index.html b/files/es/web/xslt/element/attribute/index.html new file mode 100644 index 0000000000..91d7985678 --- /dev/null +++ b/files/es/web/xslt/element/attribute/index.html @@ -0,0 +1,43 @@ +--- +title: attribute +slug: Web/XSLT/attribute +tags: + - Todas_las_Categorías + - XSLT +translation_of: Web/XSLT/Element/attribute +--- +

{{XsltRef}}

+ +

El elemento <xsl:attribute> genera un atributo en el documento de salida, usando cualquier valor que puede ser accedido desde la hoja de estilo. Este elemento tiene que ser la primer cosa que se encuentre dentro del elemento del documento de salida para el cual se desea generar el atributo.

+ +

Sintaxis

+ +
<xsl:attribute name=NOMBRE namespace=URI>
+	PLANTILLA
+</xsl:attribute>
+ +

Atributos requeridos

+ +
+
name
+
Indica el nombre del atributo a ser generado en el documento de salida. El nombre debe seguir las reglas de QName.
+
+ +

Atributos opcionales

+ +
+
namespace
+
Define el URI del nombre de espacio para el atributo en el documento de salida. No se puede especificar el prefijo del nombre de espacio con este elemento.
+
+ +

Tipo

+ +

Instrucción, aparece dentro de una plantilla o dentro del elemento <xsl:attribute-set>.

+ +

Definido

+ +

XSLT, sección 7.1.3.

+ +

Soporte en Gecko

+ +

Soportado.

diff --git a/files/es/web/xslt/element/call-template/index.html b/files/es/web/xslt/element/call-template/index.html new file mode 100644 index 0000000000..deba6a8adb --- /dev/null +++ b/files/es/web/xslt/element/call-template/index.html @@ -0,0 +1,40 @@ +--- +title: call-template +slug: Web/XSLT/call-template +tags: + - Todas_las_Categorías + - XSLT +translation_of: Web/XSLT/Element/call-template +--- +

{{XsltRef}}

+ +

El elemento <xsl:call-template> invoca una plantilla con nombre.

+ +

Sintaxis

+ +
<xsl:call-template name=NOMBRE>
+	<xsl:with-param> [opcional]
+</xsl:call-template>
+ +

Atributos requeridos

+ +
+
name
+
Indica el nombre del template que se desea invocar.
+
+ +

Atributos opcionales

+ +

Ninguno.

+ +

Tipo

+ +

Instrucción, aparece dentro de una plantilla.

+ +

Definido

+ +

XSLT, sección 6.

+ +

Soporte en Gecko

+ +

Soportado.

diff --git a/files/es/web/xslt/element/choose/index.html b/files/es/web/xslt/element/choose/index.html new file mode 100644 index 0000000000..10dd0a2f5f --- /dev/null +++ b/files/es/web/xslt/element/choose/index.html @@ -0,0 +1,37 @@ +--- +title: choose +slug: Web/XSLT/choose +tags: + - Todas_las_Categorías + - XSLT +translation_of: Web/XSLT/Element/choose +--- +

{{XsltRef}}
+ El elemento <xsl:choose> define una elección entre un número de alternativas. Funciona como una sentencia switch en los lenguajes procedurales.

+ +

Sintaxis

+ +
<xsl:choose>
+	<xsl:when>
+	<xsl:otherwise> [opcional]
+</<xsl:choose>
+ +

Atributos necesarios

+ +

Ninguno.

+ +

Atributos opcionales

+ +

Ninguno.

+ +

Tipo

+ +

Instrucción, aparece con una plantilla. Contiene uno o mas elementos <xsl:when>, y, opcionalmente, un elemento <xsl:otherwise> final.

+ +

Definido

+ +

XSLT, sección 9.2.

+ +

Soporte en Gecko

+ +

Soportado.

diff --git a/files/es/web/xslt/element/comment/index.html b/files/es/web/xslt/element/comment/index.html new file mode 100644 index 0000000000..a55f777703 --- /dev/null +++ b/files/es/web/xslt/element/comment/index.html @@ -0,0 +1,37 @@ +--- +title: comment +slug: Web/XSLT/comment +tags: + - Todas_las_Categorías + - XSLT +translation_of: Web/XSLT/Element/comment +--- +

{{XsltRef}}

+ +

El elemento <xsl:comment> escribe un comentario en el documento de salida. Debe incluir sólo texto.

+ +

Sintaxis

+ +
<xsl:comment>
+	TEMPLATE
+</xsl:comment> 
+ +

Atributos necesarios

+ +

Ninguno.

+ +

Atributos opcionales

+ +

Ninguno.

+ +

Tipo

+ +

Instrucción, aparece dentro de una plantilla.

+ +

Definido

+ +

XSLT, sección 7.4.

+ +

Soporte en Gecko

+ +

Soportado.

diff --git a/files/es/web/xslt/element/copy-of/index.html b/files/es/web/xslt/element/copy-of/index.html new file mode 100644 index 0000000000..e4f2fbca2d --- /dev/null +++ b/files/es/web/xslt/element/copy-of/index.html @@ -0,0 +1,38 @@ +--- +title: copy-of +slug: Web/XSLT/copy-of +tags: + - Todas_las_Categorías + - XSLT +translation_of: Web/XSLT/Element/copy-of +--- +

{{XsltRef}}

+ +

El elemento <xsl:copy-of> crea una copia completa (incluyendo nodos descendientes) en el documento de salida de lo que sea que indique el atributo.

+ +

Sintaxis

+ +
<xsl:copy-of select=EXPRESIÓN />
+ +

Atributos requeridos

+ +
+
select
+
Indica la expresión XPath a utilizar para seleccionar lo que será copiado.
+
+ +

Atributos opcionales

+ +

Ninguno.

+ +

Tipo

+ +

Instrucción, aparece dentro de una plantilla.

+ +

Definido

+ +

XSLT, sección 11.3.

+ +

Soporte en Gecko

+ +

Soportado.

diff --git a/files/es/web/xslt/element/copy/index.html b/files/es/web/xslt/element/copy/index.html new file mode 100644 index 0000000000..32ddbff1ae --- /dev/null +++ b/files/es/web/xslt/element/copy/index.html @@ -0,0 +1,40 @@ +--- +title: copy +slug: Web/XSLT/copy +tags: + - Todas_las_Categorías + - XSLT +translation_of: Web/XSLT/Element/copy +--- +

{{XsltRef}}

+ +

El elemento <xsl:copy> genera una copia superficial (el nodo y cualquier nodo del nombre de espacio asociado) del nodo actual al documento de salida. Este elemento no copia ni elementos hijo ni atributos del nodo actual.

+ +

Sintaxis

+ +
<xsl:copy use-attribute-sets=LISTA-DE-NOMBRES>
+	PLANTILLA
+</xsl:copy>
+ +

Atributos requeridos

+ +

Ninguno.

+ +

Atributos opcionales

+ +
+
use-attribute-sets
+
Lista conjunto de atributos que debería de ser aplicados al nodo de salida, si es un elemento. Los nombres del conjunto deben de estar separados por un espacio en blanco.
+
+ +

Tipo

+ +

Instrucción, aparece dentro de una plantilla.

+ +

Definido

+ +

XSLT, sección 7.5.

+ +

Soporte en Gecko

+ +

Suportado.

diff --git a/files/es/web/xslt/element/decimal-format/index.html b/files/es/web/xslt/element/decimal-format/index.html new file mode 100644 index 0000000000..e42e9ab149 --- /dev/null +++ b/files/es/web/xslt/element/decimal-format/index.html @@ -0,0 +1,99 @@ +--- +title: decimal-format +slug: Web/XSLT/decimal-format +tags: + - Todas_las_Categorías + - XSLT +translation_of: Web/XSLT/Element/decimal-format +--- +

{{XsltRef}}

+ +

El elemento <xsl:decimal-format> define los caracteres y los símbolos que serán usados en la conversión de números a cadenas de texto usando la función format-number( ).

+ +

Sintaxis

+ +
<xsl:decimal-format
+	name=NOMBRE
+	decimal-separator=CARACTER
+	grouping-separator=CARACTER
+	infinity=TEXTO
+	minus-sign=CARACTER
+	NaN=TEXTO
+	percent=CARACTER
+	per-mille=CARACTER
+	zero-digit=CARACTER
+	digit=CARACTER
+	pattern-separator=CARACTER />
+ +

Atributos requeridos

+ +

Ninguno.

+ +

Atributos opcionales

+ +
+
name
+
Indica el nombre que tendrá este formato.
+
+ +
+
decimal-separator
+
Indica el caracter a ser usado como punto decimal. El valor por defecto es (.).
+
+ +
+
grouping-separator
+
Indica el separador de miles. El valor por defecto es (,).
+
+ +
+
infinity
+
Indica el texto a ser usado para representar el valor de infinito. El valor por defecto es la cadena de texto "Infinity".
+
+ +
+
minus-sign
+
Indica el caracter a ser usado como signo negativo. El valor por defecto es el guión (-).
+
+ +
+
NaN
+
Indica la cadena de texto a ser usado cuando el valor no es un número. El valor por defecto es la cadena de texto "NaN".
+
+ +
+
percent
+
Indica el caracter a ser usado como signo de porcentaje. El valor por defecto es (%).
+
+ +
+
per-mille
+
Indica el separador de miles. El valor por defecto es ().
+
+ +
+
zero-digit
+
Indica el caracter para el cero. El valor por defecto es (0).
+
+ +
+
digit
+
Indica el caracter a ser usado en los patrones de formato para indicar un dígito. El valor por defecto es (#).
+
+ +
+
pattern-separator
+
Indica el caracter para separar patrones de formato negativos y positivos. El valor por defecto es el punto y coma (;).
+
+ +

Tipo

+ +

Elemento raíz, debe ser hijo de elemento <xsl:stylesheet> o <xsl:transform>.

+ +

Definido

+ +

XSLT, sección 12.3.

+ +

Soporte en Gecko

+ +

Soportado desde la versión 1.0 (Mozilla 1.0, Netscape 7.0).

diff --git a/files/es/web/xslt/element/fallback/index.html b/files/es/web/xslt/element/fallback/index.html new file mode 100644 index 0000000000..472ae59de8 --- /dev/null +++ b/files/es/web/xslt/element/fallback/index.html @@ -0,0 +1,38 @@ +--- +title: fallback +slug: Web/XSLT/fallback +tags: + - Todas_las_Categorías + - XSLT +translation_of: Web/XSLT/Element/fallback +--- +

{{XsltRef}}

+ +


+ El elemento <xsl:fallback> indica la plantilla a usar en caso de que algun elemento extendido (o, eventualmente, una nueva versión) no esté soportado.

+ +

Sintaxis

+ +
<xsl:fallback>
+	PLANTILLA
+</xsl:fallback>
+ +

Atributos requeridos

+ +

Ninguno.

+ +

Atributos opcionales

+ +

Ninguno.

+ +

Tipo

+ +

Instrucción, aparece dentro de una plantilla.

+ +

Definido

+ +

XSLT, sección 15

+ +

Soporte en Gecko

+ +

Sin soporte por el momento.

diff --git a/files/es/web/xslt/element/for-each/index.html b/files/es/web/xslt/element/for-each/index.html new file mode 100644 index 0000000000..8cc96419b5 --- /dev/null +++ b/files/es/web/xslt/element/for-each/index.html @@ -0,0 +1,42 @@ +--- +title: for-each +slug: Web/XSLT/for-each +tags: + - Todas_las_Categorías + - XSLT +translation_of: Web/XSLT/Element/for-each +--- +

{{XsltRef}}

+ +


+ El elemento <xsl:for-each> selecciona un conjunto de nodos y procesa cada uno de ellos de la misma manera. Se usa comúnmente para iterar a través de un conjunto de nodos o para cambiar el nodo actual. Si se encuentran uno o más elementos <xsl:sort> como hijos de este elemento, el ordenado de los nodos ocurrirá antes del procesamiento. De otra manera, los nodos se procesarán en el orden del documento.

+ +

Sintaxis

+ +
<xsl:for-each select=EXPRESIÓN>
+	<xsl:sort> [opcional]
+	PLANTILLA
+</xsl:for-each>
+ +

Atributos requeridos

+ +
+
select
+
Usa una expresión XPath para seleccionar los nodos a ser procesados.
+
+ +

Atributos opcionales

+ +

Ninguno.

+ +

Tipo

+ +

Instrucción, aparece dentro de una plantilla.

+ +

Definido

+ +

XSLT, sección 8.

+ +

Gecko support

+ +

Soportado.

diff --git a/files/es/web/xslt/element/if/index.html b/files/es/web/xslt/element/if/index.html new file mode 100644 index 0000000000..4cfaad7f59 --- /dev/null +++ b/files/es/web/xslt/element/if/index.html @@ -0,0 +1,39 @@ +--- +title: if +slug: Web/XSLT/if +tags: + - Todas_las_Categorías + - XSLT +translation_of: Web/XSLT/Element/if +--- +

{{XsltRef}}
+ El elemento <xsl:if> contiene un atributo a probar y una plantilla. Si el atributo resulta verdadero, la plantilla es procesada. Este comportamiento es similar a la sentencia if de otros lenguajes. Sin embargo, para conseguir la funcionalidad de una sentencia if-then-else, es necesario utilizar el elemento <xsl:choose> con un elemento hijo <xsl:when>, y otro elemento hijo <xsl:otherwise>

+ +

Sintaxis

+ +
<xsl:if test=EXPRESSION>
+	TEMPLATE
+</xsl:if>
+ +

Atributos requeridos

+ +
+
test
+
Contiene una expresión XPath que puede ser evaluada (usando las reglas definidas para boolean( ) si es necesario) como un valor boleano. Si el valor resulta verdadero, la plantilla es procesada; si resulta falso, no se lleva a cabo ninguna acción.
+
+ +

Atributos opcionales

+ +

Ninguno.

+ +

Tipo

+ +

Instrucción, aparece dentro de una plantilla.

+ +

Definido

+ +

XSL sección 9.1.

+ +

Soporte en Gecko

+ +

Soportado

diff --git a/files/es/web/xslt/element/import/index.html b/files/es/web/xslt/element/import/index.html new file mode 100644 index 0000000000..73c341349f --- /dev/null +++ b/files/es/web/xslt/element/import/index.html @@ -0,0 +1,39 @@ +--- +title: import +slug: Web/XSLT/import +tags: + - Todas_las_Categorías + - XSLT +translation_of: Web/XSLT/Element/import +--- +

{{XsltRef}}

+ +


+ El elemento <xsl:import> sirve para importar el contenido de una hoja de estilo dentro de otra hoja de estilo. En general, el contenido de la hoja de estilo importada tiene una menor precedencia que el contenido de la hoja de estilo que la importa. Esto contrasta con el elemento <xsl:include> en el que el contenido de la hoja de estilo incluida tiene exactamente la misma precedencia que el contenido de la hoja de estilo que la incluye.

+ +

Sintaxis

+ +
<xsl:import href=URI  />
+ +

Atributos requeridos

+ +
+
href
+
URI de la hoja de estilo a importar.
+
+ +

Atributos opcionales

+ +

Ninguno.

+ +

Tipo

+ +

Nivel raíz, debe aparecer antes de cualquier otro hijo de <xsl:stylesheet> o <xsl:transform> en la hoja de estilo que la importa.

+ +

Definido

+ +

XSLT, sección 2.6.2.

+ +

Soporte en Gecko

+ +

Casi completamente soportado, con tan solo algunos detalles con variables de nivel raíz y parámetros desde Mozilla 1.0.

diff --git a/files/es/web/xslt/element/include/index.html b/files/es/web/xslt/element/include/index.html new file mode 100644 index 0000000000..31dbc990eb --- /dev/null +++ b/files/es/web/xslt/element/include/index.html @@ -0,0 +1,39 @@ +--- +title: include +slug: Web/XSLT/include +tags: + - Todas_las_Categorías + - XSLT +translation_of: Web/XSLT/Element/include +--- +

{{XsltRef}}

+ +


+ El elemento <xsl:include> une el contenido de una hoja de estilo con otra. A diferencia del elemento <xsl:import>, el contenido de la hoja de estilo incluida tiene exactamente la misma precedencia que el contenido de la hoja de estilo que la incluye.

+ +

Sintaxis

+ +
<xsl:include href=URI />
+ +

Atributos requeridos

+ +
+
href
+
Indica el URI de la hoja de estilo a incluir.
+
+ +

Atributos opcionales

+ +

Ninguno.

+ +

Tipo

+ +

Elemento raíz, puede aparecer en cualquier orden siendo hijo del elemento <xsl:stylesheet> o el elemento <xsl:transform>.

+ +

Definido

+ +

XSLT, sección 2.6.1.

+ +

Soporte en Gecko

+ +

Soportado.

diff --git a/files/es/web/xslt/element/key/index.html b/files/es/web/xslt/element/key/index.html new file mode 100644 index 0000000000..536f373039 --- /dev/null +++ b/files/es/web/xslt/element/key/index.html @@ -0,0 +1,44 @@ +--- +title: key +slug: Web/XSLT/key +tags: + - Todas_las_Categorías + - XSLT +translation_of: Web/XSLT/Element/key +--- +

{{XsltRef}}

+ +


+ El elemento <xsl:key> declara una llave con nombre la cual puede ser usada en otro lugar dentro de la hoja de estilo usando la función key( ).

+ +

Sintaxis

+ +
<xsl:key name=NOMBRE match=EXPRESIÓN
+	use=EXPRESIÓN /> 
+ +

Atributos requeridos

+ +
+
name
+
Indica el nombre para esta llave. Debe seguir las reglas de tipo QName.
+
match
+
Define el nodo para el que esta llave aplica.
+
use
+
Indica la expresión XPath que se usará para determinar el valor de la llave para cada uno de los nodos aplicables.
+
+ +

Atributos opcionales

+ +

Ninguno.

+ +

Tipo

+ +

Elemento raíz, debe ser hijo del elemento <xsl:stylesheet> o del elemento <xsl:transform>.

+ +

Definido

+ +

XSLT, sección 12.2.

+ +

Soporte en Gecko

+ +

Soportado.

diff --git a/files/es/web/xslt/element/message/index.html b/files/es/web/xslt/element/message/index.html new file mode 100644 index 0000000000..e30f33ebaf --- /dev/null +++ b/files/es/web/xslt/element/message/index.html @@ -0,0 +1,40 @@ +--- +title: message +slug: Web/XSLT/message +tags: + - Todas_las_Categorías + - XSLT +translation_of: Web/XSLT/Element/message +--- +

{{XsltRef}}

+ +

El elemento <xsl:message> muestra un mensaje (en la consola JavaScript en NS) y opcionalmente termina la ejecución de la hoja de estilos. Puede ser util para depuración.

+ +

Sintaxis

+ +
<xsl:message terminate="yes" | "no" >
+	PLANTILLA
+</xsl:message>
+ +

Atributos requeridos

+ +

Ninguno.

+ +

Atributos opcionales

+ +
+
terminate
+
Establecido a "yes", indica que debe terminar la ejecución. El valor por defecto es "no", en cuyo caso se muestra el mensaje y continúa la ejecución.
+
+ +

Tipo

+ +

Instrucción, aparece dentro de una plantilla.

+ +

Definido

+ +

XSLT, sección 13.

+ +

Soporte en Gecko

+ +

Soportado.

diff --git a/files/es/web/xslt/element/namespace-alias/index.html b/files/es/web/xslt/element/namespace-alias/index.html new file mode 100644 index 0000000000..24f35bef50 --- /dev/null +++ b/files/es/web/xslt/element/namespace-alias/index.html @@ -0,0 +1,42 @@ +--- +title: namespace-alias +slug: Web/XSLT/namespace-alias +tags: + - Todas_las_Categorías + - XSLT +translation_of: Web/XSLT/Element/namespace-alias +--- +

{{XsltRef}}

+ +

El elemento <xsl:namespace-alias> es un mecanismo raramente usado para asociar un nombre de espacios en la hoja de estilos a otro nombre de espacios diferente en el árbol de salida. El uso más común para este elemento se da en la generación de una hoja de estilos a partir de otra hoja de estilos.

+ +

Para prevenir que la cadena literal para el prefijo xsl: del elemento resultante (que simplemente debería ser copiada al árbol resultante) sea malinterpretada por el procesador, se le asigna temporalmente un nombre de espacio diferente que posteriormente es reconvertida al nombre de espacios de XSLT en el árbol de salida.

+ +

Sintaxis

+ +
<xsl:namespace-alias stylesheet-prefix=NOMBRE result-prefix=NOMBRE />
+ +

Atributos Requeridos

+ +
+
stylesheet-prefix
+
Indica el nombre de espacios temporal.
+
result-prefix
+
Indica el nombre de espacios deseado en el árbol de salida.
+
+ +

Atributos opcionales

+ +

Ninguno.

+ +

Tipo

+ +

Debe ser hijo directo de <xsl:stylesheet> o <xsl:transform>.

+ +

Definido

+ +

XSLT, sección 7.1.1

+ +

Soporte en Gecko

+ +

Sin soporte por el momento.

diff --git a/files/es/web/xslt/element/number/index.html b/files/es/web/xslt/element/number/index.html new file mode 100644 index 0000000000..da7238cd4f --- /dev/null +++ b/files/es/web/xslt/element/number/index.html @@ -0,0 +1,169 @@ +--- +title: number +slug: Web/XSLT/number +tags: + - Todas_las_Categorías + - XSLT +translation_of: Web/XSLT/Element/number +--- +

{{XsltRef}}

+ +

El elemento <xsl:number> hace conteos secuenciales. También puede ser usado para darle formato a los números.

+ +

Sintaxis

+ +
<xsl:number
+	count=EXPRESION
+	level="single" | "multiple" | "any"
+	from=EXPRESION
+	value=EXPRESION
+	format=FORMAT-STRING
+	lang=XML:LANG-CODE
+	letter-value="alphabetic" | "traditional"
+	grouping-separator=CARACTER
+	grouping-size=NUMERO  />
+ +

Atributos requeridos

+ +

Ninguno.

+ +

Atributos opcionales

+ +
+
count
+
Indica que es lo que debe ser numerado de manera secuencial. Usa una expresión XPath.
+
+ +
+
level
+
Define cuantos niveles del documento deben ser tomados en cuenta para generar la secuencia numérica. Tiene 3 valores permitidos: single, multiple, y any. El valor por preestablecido es single:
+
+ +
+
+
+
single
+
Numera los nodos hermanos de manera secuencia, como en los listados. ... CONTINUAR DESDE AQUÍ...
+
Numbers sibling nodes sequentially, as in the items in a list. The processor goes to the first node in the ancestor-or-self axis that matches the count attribute and then counts that node plus all its preceding siblings (stopping when it reaches a match to the from attribute, if there is one) that also match the count attribute.If no match is found, the sequence will be an empty list.
+
+
+
+ +
+
+
+
multiple
+
Numbers nodes as a composite sequence that reflects the hierarchic position of the node, e.g. 1.2.2.5. (The nested format can be specified with the format attribute, e.g. A.1.1). The processor looks at all ancestors of the current node and the current node itself, stopping when it reaches a match for the from attribute, if there is one. For each node in this list that matches the count attribute, the processor counts how many preceding matching siblings it has, and adds one for the node itself. If no match is found, the sequence will be an empty list.
+
+
+
+ +
+
+
+
any (Not supported at this time.)
+
Numbers all matching nodes, regardless of level, sequentially. The ancestor, self, and preceding axes are all considered. The processor starts at the current node and proceeds in reverse document order, stopping if it reaches a match to any from attribute. If no match to the count attribute is found, the sequence will be an empty list. This level is not supported at this time.
+
+
+
+ +
+
from
+
Specifies where the numbering should start or start over. The sequence begins with the first descendant of the node that matches the from attribute.
+
+ +
+
value
+
Applies a given format to a number. This is a quick way to format a user-supplied number (as opposed to a node sequence number) in any of the standard <xsl:number> formats.
+
+ +
+
format
+
Defines the format of the generated number:
+
+ +
+
+
+
format="1"
+
1 2 3 . . . (This is the only format supported at this time)
+
+
+
+ +
+
+
+
format="01"
+
01 02 03 . . . 09 10 11 . . .
+
+
+
+ +
+
+
+
format="a"
+
a b c . . .y z aa ab . . .
+
+
+
+ +
+
+
+
format="A"
+
A B C . . . Y Z AA AB . . .
+
+
+
+ +
+
+
+
format="i"
+
i ii iii iv v . . .
+
+
+
+ +
+
+
+
format="I"
+
I II III IV V . . .
+
+
+
+ +
+
lang (Not supported at this time.)
+
Specifies which language's alphabet should be used in letter-based numbering formats.
+
+ +
+
letter-value
+
Disambiguates between numbering sequences that use letters. Some languages have more than one numbering system that use letters. If both systems begin with the same token, ambiguity can arise. This attribute can have the value "alphabetic" or "traditional". The default is "alphabetic".
+
+ +
+
grouping-separator
+
Specifies what character should be used as the group (e.g. thousands) separator. The default is the comma (,).
+
+ +
+
grouping-size
+
Indicates the number of digits that make up a numeric group. The default value is "3".
+
+ +

Type

+ +

Instruction, appears within a template.

+ +

Defined

+ +

XSLT, section 7.7

+ +

Gecko support

+ +

Partial support. See comments above.

diff --git a/files/es/web/xslt/element/otherwise/index.html b/files/es/web/xslt/element/otherwise/index.html new file mode 100644 index 0000000000..2150e21ad3 --- /dev/null +++ b/files/es/web/xslt/element/otherwise/index.html @@ -0,0 +1,37 @@ +--- +title: otherwise +slug: Web/XSLT/otherwise +tags: + - Todas_las_Categorías + - XSLT +translation_of: Web/XSLT/Element/otherwise +--- +

{{XsltRef}}

+ +

El elemento <xsl:otherwise> se utiliza para definir la acción que se debe tomar cuando no se aplica ninguna de las condiciones <xsl:when>. Es similar a else or default en otros lenguajes de programación.

+ +

Sintaxis

+ +
<xsl:otherwise>
+	PLANTILLA
+</xsl:otherwise>
+ +

Atributos requeridos

+ +

Ninguno.

+ +

Atributos opcionales

+ +

Ninguno.

+ +

Tipo

+ +

Subinstrucción, debe aparecer como el último hijo de un elemento <xsl:choose>, dentro de una plantilla.

+ +

Definido

+ +

XSLT, sección 9.2

+ +

Soporte en Gecko

+ +

Soportado.

diff --git a/files/es/web/xslt/element/when/index.html b/files/es/web/xslt/element/when/index.html new file mode 100644 index 0000000000..cda01b9e6c --- /dev/null +++ b/files/es/web/xslt/element/when/index.html @@ -0,0 +1,40 @@ +--- +title: when +slug: Web/XSLT/when +tags: + - Todas_las_Categorías + - XSLT +translation_of: Web/XSLT/Element/when +--- +

{{XsltRef}}

+ +

El elemento <xsl:when> siempre aparece dentro de un elemento <xsl:choose>, actuando como una sentencia case.

+ +

Sintaxis

+ +
<xsl:when test=EXPRESIÓN>
+	PLANTILLA
+</xsl:when>
+ +

Atributos requeridos

+ +
+
test
+
Especifica una expresión booleana a evaluar. Si es cierta, se procesa el contenido del elemento; si es falsa, se ignora.
+
+ +

Atributos opcionales

+ +

Ninguno.

+ +

Tipo

+ +

Subinstrucción, siempre aparece dentro de un elemento <xsl:choose>.

+ +

Definido

+ +

XSLT, sección 9.2.

+ +

Soporte en Gecko

+ +

Soportado.

diff --git a/files/es/web/xslt/element/with-param/index.html b/files/es/web/xslt/element/with-param/index.html new file mode 100644 index 0000000000..270684f4d7 --- /dev/null +++ b/files/es/web/xslt/element/with-param/index.html @@ -0,0 +1,43 @@ +--- +title: with-param +slug: Web/XSLT/with-param +tags: + - Todas_las_Categorías + - XSLT +translation_of: Web/XSLT/Element/with-param +--- +

{{XsltRef}}

+ +

El elemento <xsl:with-param> establece el valor de un parámetro que se pasará a una plantilla.

+ +

Syntax

+ +
<xsl:with-param name=NOMBRE select=EXPRESIÓN>
+	PLANTILLA
+</xsl:with-param>
+ +

Atributos requeridos

+ +
+
name
+
Dá a este parámetro un nombre.
+
+ +

Atributos opcionales

+ +
+
select
+
Define el valor del parámtero a través de una expresión XPath. Si el elemento contiene una plantilla, se ignorará este atributo.
+
+ +

Tipo

+ +

Subinstrucción, siempre aparece dentro de un elemento <xsl:apply-templates> o <xsl:call-template>.

+ +

Definido

+ +

XSLT 11.6

+ +

Soporte en Gecko

+ +

Soportado.

diff --git a/files/es/web/xslt/fallback/index.html b/files/es/web/xslt/fallback/index.html deleted file mode 100644 index 472ae59de8..0000000000 --- a/files/es/web/xslt/fallback/index.html +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: fallback -slug: Web/XSLT/fallback -tags: - - Todas_las_Categorías - - XSLT -translation_of: Web/XSLT/Element/fallback ---- -

{{XsltRef}}

- -


- El elemento <xsl:fallback> indica la plantilla a usar en caso de que algun elemento extendido (o, eventualmente, una nueva versión) no esté soportado.

- -

Sintaxis

- -
<xsl:fallback>
-	PLANTILLA
-</xsl:fallback>
- -

Atributos requeridos

- -

Ninguno.

- -

Atributos opcionales

- -

Ninguno.

- -

Tipo

- -

Instrucción, aparece dentro de una plantilla.

- -

Definido

- -

XSLT, sección 15

- -

Soporte en Gecko

- -

Sin soporte por el momento.

diff --git a/files/es/web/xslt/for-each/index.html b/files/es/web/xslt/for-each/index.html deleted file mode 100644 index 8cc96419b5..0000000000 --- a/files/es/web/xslt/for-each/index.html +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: for-each -slug: Web/XSLT/for-each -tags: - - Todas_las_Categorías - - XSLT -translation_of: Web/XSLT/Element/for-each ---- -

{{XsltRef}}

- -


- El elemento <xsl:for-each> selecciona un conjunto de nodos y procesa cada uno de ellos de la misma manera. Se usa comúnmente para iterar a través de un conjunto de nodos o para cambiar el nodo actual. Si se encuentran uno o más elementos <xsl:sort> como hijos de este elemento, el ordenado de los nodos ocurrirá antes del procesamiento. De otra manera, los nodos se procesarán en el orden del documento.

- -

Sintaxis

- -
<xsl:for-each select=EXPRESIÓN>
-	<xsl:sort> [opcional]
-	PLANTILLA
-</xsl:for-each>
- -

Atributos requeridos

- -
-
select
-
Usa una expresión XPath para seleccionar los nodos a ser procesados.
-
- -

Atributos opcionales

- -

Ninguno.

- -

Tipo

- -

Instrucción, aparece dentro de una plantilla.

- -

Definido

- -

XSLT, sección 8.

- -

Gecko support

- -

Soportado.

diff --git a/files/es/web/xslt/if/index.html b/files/es/web/xslt/if/index.html deleted file mode 100644 index 4cfaad7f59..0000000000 --- a/files/es/web/xslt/if/index.html +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: if -slug: Web/XSLT/if -tags: - - Todas_las_Categorías - - XSLT -translation_of: Web/XSLT/Element/if ---- -

{{XsltRef}}
- El elemento <xsl:if> contiene un atributo a probar y una plantilla. Si el atributo resulta verdadero, la plantilla es procesada. Este comportamiento es similar a la sentencia if de otros lenguajes. Sin embargo, para conseguir la funcionalidad de una sentencia if-then-else, es necesario utilizar el elemento <xsl:choose> con un elemento hijo <xsl:when>, y otro elemento hijo <xsl:otherwise>

- -

Sintaxis

- -
<xsl:if test=EXPRESSION>
-	TEMPLATE
-</xsl:if>
- -

Atributos requeridos

- -
-
test
-
Contiene una expresión XPath que puede ser evaluada (usando las reglas definidas para boolean( ) si es necesario) como un valor boleano. Si el valor resulta verdadero, la plantilla es procesada; si resulta falso, no se lleva a cabo ninguna acción.
-
- -

Atributos opcionales

- -

Ninguno.

- -

Tipo

- -

Instrucción, aparece dentro de una plantilla.

- -

Definido

- -

XSL sección 9.1.

- -

Soporte en Gecko

- -

Soportado

diff --git a/files/es/web/xslt/import/index.html b/files/es/web/xslt/import/index.html deleted file mode 100644 index 73c341349f..0000000000 --- a/files/es/web/xslt/import/index.html +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: import -slug: Web/XSLT/import -tags: - - Todas_las_Categorías - - XSLT -translation_of: Web/XSLT/Element/import ---- -

{{XsltRef}}

- -


- El elemento <xsl:import> sirve para importar el contenido de una hoja de estilo dentro de otra hoja de estilo. En general, el contenido de la hoja de estilo importada tiene una menor precedencia que el contenido de la hoja de estilo que la importa. Esto contrasta con el elemento <xsl:include> en el que el contenido de la hoja de estilo incluida tiene exactamente la misma precedencia que el contenido de la hoja de estilo que la incluye.

- -

Sintaxis

- -
<xsl:import href=URI  />
- -

Atributos requeridos

- -
-
href
-
URI de la hoja de estilo a importar.
-
- -

Atributos opcionales

- -

Ninguno.

- -

Tipo

- -

Nivel raíz, debe aparecer antes de cualquier otro hijo de <xsl:stylesheet> o <xsl:transform> en la hoja de estilo que la importa.

- -

Definido

- -

XSLT, sección 2.6.2.

- -

Soporte en Gecko

- -

Casi completamente soportado, con tan solo algunos detalles con variables de nivel raíz y parámetros desde Mozilla 1.0.

diff --git a/files/es/web/xslt/include/index.html b/files/es/web/xslt/include/index.html deleted file mode 100644 index 31dbc990eb..0000000000 --- a/files/es/web/xslt/include/index.html +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: include -slug: Web/XSLT/include -tags: - - Todas_las_Categorías - - XSLT -translation_of: Web/XSLT/Element/include ---- -

{{XsltRef}}

- -


- El elemento <xsl:include> une el contenido de una hoja de estilo con otra. A diferencia del elemento <xsl:import>, el contenido de la hoja de estilo incluida tiene exactamente la misma precedencia que el contenido de la hoja de estilo que la incluye.

- -

Sintaxis

- -
<xsl:include href=URI />
- -

Atributos requeridos

- -
-
href
-
Indica el URI de la hoja de estilo a incluir.
-
- -

Atributos opcionales

- -

Ninguno.

- -

Tipo

- -

Elemento raíz, puede aparecer en cualquier orden siendo hijo del elemento <xsl:stylesheet> o el elemento <xsl:transform>.

- -

Definido

- -

XSLT, sección 2.6.1.

- -

Soporte en Gecko

- -

Soportado.

diff --git a/files/es/web/xslt/key/index.html b/files/es/web/xslt/key/index.html deleted file mode 100644 index 536f373039..0000000000 --- a/files/es/web/xslt/key/index.html +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: key -slug: Web/XSLT/key -tags: - - Todas_las_Categorías - - XSLT -translation_of: Web/XSLT/Element/key ---- -

{{XsltRef}}

- -


- El elemento <xsl:key> declara una llave con nombre la cual puede ser usada en otro lugar dentro de la hoja de estilo usando la función key( ).

- -

Sintaxis

- -
<xsl:key name=NOMBRE match=EXPRESIÓN
-	use=EXPRESIÓN /> 
- -

Atributos requeridos

- -
-
name
-
Indica el nombre para esta llave. Debe seguir las reglas de tipo QName.
-
match
-
Define el nodo para el que esta llave aplica.
-
use
-
Indica la expresión XPath que se usará para determinar el valor de la llave para cada uno de los nodos aplicables.
-
- -

Atributos opcionales

- -

Ninguno.

- -

Tipo

- -

Elemento raíz, debe ser hijo del elemento <xsl:stylesheet> o del elemento <xsl:transform>.

- -

Definido

- -

XSLT, sección 12.2.

- -

Soporte en Gecko

- -

Soportado.

diff --git a/files/es/web/xslt/message/index.html b/files/es/web/xslt/message/index.html deleted file mode 100644 index e30f33ebaf..0000000000 --- a/files/es/web/xslt/message/index.html +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: message -slug: Web/XSLT/message -tags: - - Todas_las_Categorías - - XSLT -translation_of: Web/XSLT/Element/message ---- -

{{XsltRef}}

- -

El elemento <xsl:message> muestra un mensaje (en la consola JavaScript en NS) y opcionalmente termina la ejecución de la hoja de estilos. Puede ser util para depuración.

- -

Sintaxis

- -
<xsl:message terminate="yes" | "no" >
-	PLANTILLA
-</xsl:message>
- -

Atributos requeridos

- -

Ninguno.

- -

Atributos opcionales

- -
-
terminate
-
Establecido a "yes", indica que debe terminar la ejecución. El valor por defecto es "no", en cuyo caso se muestra el mensaje y continúa la ejecución.
-
- -

Tipo

- -

Instrucción, aparece dentro de una plantilla.

- -

Definido

- -

XSLT, sección 13.

- -

Soporte en Gecko

- -

Soportado.

diff --git a/files/es/web/xslt/namespace-alias/index.html b/files/es/web/xslt/namespace-alias/index.html deleted file mode 100644 index 24f35bef50..0000000000 --- a/files/es/web/xslt/namespace-alias/index.html +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: namespace-alias -slug: Web/XSLT/namespace-alias -tags: - - Todas_las_Categorías - - XSLT -translation_of: Web/XSLT/Element/namespace-alias ---- -

{{XsltRef}}

- -

El elemento <xsl:namespace-alias> es un mecanismo raramente usado para asociar un nombre de espacios en la hoja de estilos a otro nombre de espacios diferente en el árbol de salida. El uso más común para este elemento se da en la generación de una hoja de estilos a partir de otra hoja de estilos.

- -

Para prevenir que la cadena literal para el prefijo xsl: del elemento resultante (que simplemente debería ser copiada al árbol resultante) sea malinterpretada por el procesador, se le asigna temporalmente un nombre de espacio diferente que posteriormente es reconvertida al nombre de espacios de XSLT en el árbol de salida.

- -

Sintaxis

- -
<xsl:namespace-alias stylesheet-prefix=NOMBRE result-prefix=NOMBRE />
- -

Atributos Requeridos

- -
-
stylesheet-prefix
-
Indica el nombre de espacios temporal.
-
result-prefix
-
Indica el nombre de espacios deseado en el árbol de salida.
-
- -

Atributos opcionales

- -

Ninguno.

- -

Tipo

- -

Debe ser hijo directo de <xsl:stylesheet> o <xsl:transform>.

- -

Definido

- -

XSLT, sección 7.1.1

- -

Soporte en Gecko

- -

Sin soporte por el momento.

diff --git a/files/es/web/xslt/number/index.html b/files/es/web/xslt/number/index.html deleted file mode 100644 index da7238cd4f..0000000000 --- a/files/es/web/xslt/number/index.html +++ /dev/null @@ -1,169 +0,0 @@ ---- -title: number -slug: Web/XSLT/number -tags: - - Todas_las_Categorías - - XSLT -translation_of: Web/XSLT/Element/number ---- -

{{XsltRef}}

- -

El elemento <xsl:number> hace conteos secuenciales. También puede ser usado para darle formato a los números.

- -

Sintaxis

- -
<xsl:number
-	count=EXPRESION
-	level="single" | "multiple" | "any"
-	from=EXPRESION
-	value=EXPRESION
-	format=FORMAT-STRING
-	lang=XML:LANG-CODE
-	letter-value="alphabetic" | "traditional"
-	grouping-separator=CARACTER
-	grouping-size=NUMERO  />
- -

Atributos requeridos

- -

Ninguno.

- -

Atributos opcionales

- -
-
count
-
Indica que es lo que debe ser numerado de manera secuencial. Usa una expresión XPath.
-
- -
-
level
-
Define cuantos niveles del documento deben ser tomados en cuenta para generar la secuencia numérica. Tiene 3 valores permitidos: single, multiple, y any. El valor por preestablecido es single:
-
- -
-
-
-
single
-
Numera los nodos hermanos de manera secuencia, como en los listados. ... CONTINUAR DESDE AQUÍ...
-
Numbers sibling nodes sequentially, as in the items in a list. The processor goes to the first node in the ancestor-or-self axis that matches the count attribute and then counts that node plus all its preceding siblings (stopping when it reaches a match to the from attribute, if there is one) that also match the count attribute.If no match is found, the sequence will be an empty list.
-
-
-
- -
-
-
-
multiple
-
Numbers nodes as a composite sequence that reflects the hierarchic position of the node, e.g. 1.2.2.5. (The nested format can be specified with the format attribute, e.g. A.1.1). The processor looks at all ancestors of the current node and the current node itself, stopping when it reaches a match for the from attribute, if there is one. For each node in this list that matches the count attribute, the processor counts how many preceding matching siblings it has, and adds one for the node itself. If no match is found, the sequence will be an empty list.
-
-
-
- -
-
-
-
any (Not supported at this time.)
-
Numbers all matching nodes, regardless of level, sequentially. The ancestor, self, and preceding axes are all considered. The processor starts at the current node and proceeds in reverse document order, stopping if it reaches a match to any from attribute. If no match to the count attribute is found, the sequence will be an empty list. This level is not supported at this time.
-
-
-
- -
-
from
-
Specifies where the numbering should start or start over. The sequence begins with the first descendant of the node that matches the from attribute.
-
- -
-
value
-
Applies a given format to a number. This is a quick way to format a user-supplied number (as opposed to a node sequence number) in any of the standard <xsl:number> formats.
-
- -
-
format
-
Defines the format of the generated number:
-
- -
-
-
-
format="1"
-
1 2 3 . . . (This is the only format supported at this time)
-
-
-
- -
-
-
-
format="01"
-
01 02 03 . . . 09 10 11 . . .
-
-
-
- -
-
-
-
format="a"
-
a b c . . .y z aa ab . . .
-
-
-
- -
-
-
-
format="A"
-
A B C . . . Y Z AA AB . . .
-
-
-
- -
-
-
-
format="i"
-
i ii iii iv v . . .
-
-
-
- -
-
-
-
format="I"
-
I II III IV V . . .
-
-
-
- -
-
lang (Not supported at this time.)
-
Specifies which language's alphabet should be used in letter-based numbering formats.
-
- -
-
letter-value
-
Disambiguates between numbering sequences that use letters. Some languages have more than one numbering system that use letters. If both systems begin with the same token, ambiguity can arise. This attribute can have the value "alphabetic" or "traditional". The default is "alphabetic".
-
- -
-
grouping-separator
-
Specifies what character should be used as the group (e.g. thousands) separator. The default is the comma (,).
-
- -
-
grouping-size
-
Indicates the number of digits that make up a numeric group. The default value is "3".
-
- -

Type

- -

Instruction, appears within a template.

- -

Defined

- -

XSLT, section 7.7

- -

Gecko support

- -

Partial support. See comments above.

diff --git a/files/es/web/xslt/otherwise/index.html b/files/es/web/xslt/otherwise/index.html deleted file mode 100644 index 2150e21ad3..0000000000 --- a/files/es/web/xslt/otherwise/index.html +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: otherwise -slug: Web/XSLT/otherwise -tags: - - Todas_las_Categorías - - XSLT -translation_of: Web/XSLT/Element/otherwise ---- -

{{XsltRef}}

- -

El elemento <xsl:otherwise> se utiliza para definir la acción que se debe tomar cuando no se aplica ninguna de las condiciones <xsl:when>. Es similar a else or default en otros lenguajes de programación.

- -

Sintaxis

- -
<xsl:otherwise>
-	PLANTILLA
-</xsl:otherwise>
- -

Atributos requeridos

- -

Ninguno.

- -

Atributos opcionales

- -

Ninguno.

- -

Tipo

- -

Subinstrucción, debe aparecer como el último hijo de un elemento <xsl:choose>, dentro de una plantilla.

- -

Definido

- -

XSLT, sección 9.2

- -

Soporte en Gecko

- -

Soportado.

diff --git a/files/es/web/xslt/transformando_xml_con_xslt/index.html b/files/es/web/xslt/transformando_xml_con_xslt/index.html deleted file mode 100644 index 9ccd6d0a36..0000000000 --- a/files/es/web/xslt/transformando_xml_con_xslt/index.html +++ /dev/null @@ -1,112 +0,0 @@ ---- -title: Transformando XML con XSLT -slug: Web/XSLT/Transformando_XML_con_XSLT -tags: - - Todas_las_Categorías - - Transformando_XML_con_XSLT - - XSLT -translation_of: Web/XSLT/Transforming_XML_with_XSLT ---- -

-


-

-

Introducción

-

La separación del contenido y la presentación es una característica clave en el diseño de XML. La estructura de un documento XML esta diseñada para reflejar y clarificar relaciones importantes entre los aspectos individuales del contenido en si mismo, sin preocuparse de la forma en que posteriormente se visualizaran los datos. Una estructuración inteligente es particularmente importante cuando cada día se realizan más conexiones entre máquinas muy diferentes a través de la red. -

Finalmente, gran parte del contenido almacenado en los documentos XML será mostrado al lector (humano). Dado que el navegador proporciona un interfaz conocido y flexible al usuario, es el mecanismo ideal para presentar los contenidos en XML. Construido él mismo usando numerosas tecnologías XML, Mozilla incluye todos los mecanismos necesarios para procesar tanto los documentos XML originales, como las hojas de transformación utilizadas para formatearlo y mostrarlo en HTML. Al mismo tiempo se reduce la carga del servidor, dado que el procesamiento se produce en el lado del cliente. -

Actualmente, Gecko (el motor de visualización que utilizan Mozilla y Firefox) soporta dos tipos de hojas de estilo para XML. Para el control básico de la apariencia (como fuentes, colores, posición, etc...) Gecko utiliza CSS, parecido al DHTML. Todo CSS1 y la mayor parte de CSS2 están soportados. El soporte para el estándar CSS3 está en desarrollo. Para más información sobre CSS, véase Eric Meyer's CSS pages. Para una introducción de CSS1 y Netscape, véase Browser Central page. -

El segundo tipo de hojas de transformación que soporta Gecko son las hojas de estilo XSLT, eXtensible Stylesheet Language/Transform. XSLT permite al autor de una hoja de estilo transformar un documento original XML de dos formas: manipulando y ordenando el contenido (incluyendo una reordenación general de éste si es necesario), y transformando el contenido en distintos formatos (en el caso de Netscape, se convierte al vuelo en HTML para ser mostrado por el navegador). -

-

Referencia de XSLT/XPath

-

Elementos

- -

Ejes

- -

Funciones

- -

Para futuras lecturas

- -

Índice

-
-

Información original del documento

- -
-


-Categorías -

enlaces interwikis -

{{ languages( { "en": "en/Transforming_XML_with_XSLT", "fr": "fr/Transformations_XML_avec_XSLT", "ko": "ko/Transforming_XML_with_XSLT", "pl": "pl/Transformacje_XML_z_XSLT" } ) }} diff --git a/files/es/web/xslt/transforming_xml_with_xslt/index.html b/files/es/web/xslt/transforming_xml_with_xslt/index.html new file mode 100644 index 0000000000..9ccd6d0a36 --- /dev/null +++ b/files/es/web/xslt/transforming_xml_with_xslt/index.html @@ -0,0 +1,112 @@ +--- +title: Transformando XML con XSLT +slug: Web/XSLT/Transformando_XML_con_XSLT +tags: + - Todas_las_Categorías + - Transformando_XML_con_XSLT + - XSLT +translation_of: Web/XSLT/Transforming_XML_with_XSLT +--- +

+


+

+

Introducción

+

La separación del contenido y la presentación es una característica clave en el diseño de XML. La estructura de un documento XML esta diseñada para reflejar y clarificar relaciones importantes entre los aspectos individuales del contenido en si mismo, sin preocuparse de la forma en que posteriormente se visualizaran los datos. Una estructuración inteligente es particularmente importante cuando cada día se realizan más conexiones entre máquinas muy diferentes a través de la red. +

Finalmente, gran parte del contenido almacenado en los documentos XML será mostrado al lector (humano). Dado que el navegador proporciona un interfaz conocido y flexible al usuario, es el mecanismo ideal para presentar los contenidos en XML. Construido él mismo usando numerosas tecnologías XML, Mozilla incluye todos los mecanismos necesarios para procesar tanto los documentos XML originales, como las hojas de transformación utilizadas para formatearlo y mostrarlo en HTML. Al mismo tiempo se reduce la carga del servidor, dado que el procesamiento se produce en el lado del cliente. +

Actualmente, Gecko (el motor de visualización que utilizan Mozilla y Firefox) soporta dos tipos de hojas de estilo para XML. Para el control básico de la apariencia (como fuentes, colores, posición, etc...) Gecko utiliza CSS, parecido al DHTML. Todo CSS1 y la mayor parte de CSS2 están soportados. El soporte para el estándar CSS3 está en desarrollo. Para más información sobre CSS, véase Eric Meyer's CSS pages. Para una introducción de CSS1 y Netscape, véase Browser Central page. +

El segundo tipo de hojas de transformación que soporta Gecko son las hojas de estilo XSLT, eXtensible Stylesheet Language/Transform. XSLT permite al autor de una hoja de estilo transformar un documento original XML de dos formas: manipulando y ordenando el contenido (incluyendo una reordenación general de éste si es necesario), y transformando el contenido en distintos formatos (en el caso de Netscape, se convierte al vuelo en HTML para ser mostrado por el navegador). +

+

Referencia de XSLT/XPath

+

Elementos

+ +

Ejes

+ +

Funciones

+ +

Para futuras lecturas

+ +

Índice

+
+

Información original del documento

+ +
+


+Categorías +

enlaces interwikis +

{{ languages( { "en": "en/Transforming_XML_with_XSLT", "fr": "fr/Transformations_XML_avec_XSLT", "ko": "ko/Transforming_XML_with_XSLT", "pl": "pl/Transformacje_XML_z_XSLT" } ) }} diff --git a/files/es/web/xslt/when/index.html b/files/es/web/xslt/when/index.html deleted file mode 100644 index cda01b9e6c..0000000000 --- a/files/es/web/xslt/when/index.html +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: when -slug: Web/XSLT/when -tags: - - Todas_las_Categorías - - XSLT -translation_of: Web/XSLT/Element/when ---- -

{{XsltRef}}

- -

El elemento <xsl:when> siempre aparece dentro de un elemento <xsl:choose>, actuando como una sentencia case.

- -

Sintaxis

- -
<xsl:when test=EXPRESIÓN>
-	PLANTILLA
-</xsl:when>
- -

Atributos requeridos

- -
-
test
-
Especifica una expresión booleana a evaluar. Si es cierta, se procesa el contenido del elemento; si es falsa, se ignora.
-
- -

Atributos opcionales

- -

Ninguno.

- -

Tipo

- -

Subinstrucción, siempre aparece dentro de un elemento <xsl:choose>.

- -

Definido

- -

XSLT, sección 9.2.

- -

Soporte en Gecko

- -

Soportado.

diff --git a/files/es/web/xslt/with-param/index.html b/files/es/web/xslt/with-param/index.html deleted file mode 100644 index 270684f4d7..0000000000 --- a/files/es/web/xslt/with-param/index.html +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: with-param -slug: Web/XSLT/with-param -tags: - - Todas_las_Categorías - - XSLT -translation_of: Web/XSLT/Element/with-param ---- -

{{XsltRef}}

- -

El elemento <xsl:with-param> establece el valor de un parámetro que se pasará a una plantilla.

- -

Syntax

- -
<xsl:with-param name=NOMBRE select=EXPRESIÓN>
-	PLANTILLA
-</xsl:with-param>
- -

Atributos requeridos

- -
-
name
-
Dá a este parámetro un nombre.
-
- -

Atributos opcionales

- -
-
select
-
Define el valor del parámtero a través de una expresión XPath. Si el elemento contiene una plantilla, se ignorará este atributo.
-
- -

Tipo

- -

Subinstrucción, siempre aparece dentro de un elemento <xsl:apply-templates> o <xsl:call-template>.

- -

Definido

- -

XSLT 11.6

- -

Soporte en Gecko

- -

Soportado.

-- cgit v1.2.3-54-g00ecf