XSLT
- XSLT Básico
- Referencias
- Ejemplos
- Otros Enlaces
Ruta: >Programación>XSLT
Atributo | Descripcion | Tipo | Elementos | Notas |
---|---|---|---|---|
case-order | - | upper-first|lower-first | xsl:sort | - |
cdata-section-elements |
Specifies a list of elements that should have their content escaped by using a CDATA section instead of entities.
|
qnames | xsl:document, xml:output | - |
count |
Specifies the type of node that is to be counted
|
pattern | xsl:number | - |
data-type | - | text|number| qname-but-not-ncname | xsl:sort | - |
decimal-separator | - | char | xsl:decimal-format | - |
digit | - | char | xsl:decimal-format | - |
disable-output-escaping | - | yes|no | xsl:text, xsl:value-of | - |
doctype-public | - | string | xsl:document, xml:output | - |
doctype-system | - | string | xsl:document, xml:output | - |
elements | - | tokens | xsl:preserve-space | - |
encoding | - | string | xsl:document, xml:output | - |
exclude-result-prefixes |
Namespaces that are only relevant in the stylesheet or in the source document, but not in the result document, can be removed from the output by specifying them here.
|
tokens | xsl:stylesheet, xsl:transform | - |
extension-element-prefixes |
Allows you to specify which namespace prefixes are XSLT extension namespaces (like msxml)
|
tokens | xsl:stylesheet, xsl:transform | - |
format |
How to format the numeric value to a string (1 becomes 1, 2, 3, ...; a becomes a, b, c, ...)
|
string | xsl:number | - |
from |
Specifies the starting point for counting
|
pattern | xsl:number | - |
grouping-separator |
Character to be used for group separation.
|
char | xsl:number, xsl:decimal-format | - |
grouping-size |
Number of digits to be separated. grouping-separator=';' and grouping-size='3' causes: 1;000;000
Number of digits to be separated. grouping-separator=';' and grouping-size='3' causes: 1;000;000
|
number | xsl:number | - |
href | - | uri-reference | xsl:import, xsl:include | - |
id | - | id | xsl:stylesheet, xsl:transform | - |
implements-prefix | - | namespace-prefix | msxml:script | - |
indent |
Specifies to addition of extra whitespace for readability
|
yes|no | xsl:document, xml:output | - |
infinity | - | string | xsl:decimal-format | - |
lang |
Language used for alphabetic numbering
|
nmtoken | xsl:number, xsl:sort | - |
language | - | language-name | msxml:script | - |
letter-value |
Some languages have traditional orders of letters specifically for numbering. These orders are often different from the alphabetic order.
|
alphabetic|traditional | xsl:number | - |
level |
The value 'single' counts the location of the nearest node matched by the count attribute (along the ancestor axis) relative to its preceding siblings of the same name. Typical output: chapter number. The value 'multiple' will count the location of the all nodes matched by the count attribute (along the ancestor axis) relative to their preceding siblings of the same name. Typical output: paragraph number of form 4.5.3. The value 'any' will count the location of the nearest node matched by the count attribute (along the ancestor axis) relative to their preceding nodes (not only siblings) of the same name. Typical output: bookmark number
|
single|multiple|any | xsl:number | - |
match | - | pattern | xsl:key, xsl:template | - |
media-type |
To specify a specific MIME type while writing out content.
|
string | xsl:document, xml:output | - |
method |
xml is default, html will create empty elements like
and use HTML entities like à. text will cause no output escaping to happen at all (no entity references in output.) |
xml|html|text| qname-but-not-ncname | xsl:document, xml:output | - |
minus-sign | - | char | xsl:decimal-format | - |
mode | - | qname | xsl:apply-templates, xsl:template | - |
name | - | qname | xsl:attribute, xsl:attribute-set, xsl:call-template, xsl:decimal-format, xsl:element,xsl:key, xsl:processing-instruction, xsl:template, xsl:variable, xsl:with-param | - |
namespace | - | uri-reference | xsl:attribute, xsl:element | - |
NaN | - | string | xsl:decimal-format | - |
omit-xml-declaration | - | yes|no | xsl:document, xml:output | - |
order | - | ascending|descending | xsl:sort | - |
pattern-separator | - | char | xsl:decimal-format | - |
percent | - | char | xsl:decimal-format | - |
per-mille | - | char | xsl:decimal-format | - |
priority | - | number | xsl:template | - |
result-prefix | - | prefix|#default | xsl:namespace-alias | - |
select | - | node-set-expression | xsl:apply-templates, xsl:copy-of, xsl:for-each, xsl:param, xsl:sort, xsl:value-of, xsl:variable, xsl:with-param |
value-of no copia las etiquetas html en la salida.
Para que las genere hay que utilizar copy-of
|
standalone | - | yes|no | xsl:document, xml:output | - |
stylesheet-prefix | - | prefix|#default | xsl:namespace-alias | - |
terminate | - | yes|no | xsl:message | - |
test | - | Boolean-expression | xsl:if, xsl:when | - |
use | - | expression | xsl:key | - |
use-attribute-sets | - | qnames | xsl:attribute-set, xsl:copy, xsl:element | - |
value |
Used to specify the numeric value directly instead of using 'level', 'count' and 'from'.
|
number-expression | xsl:number | - |
version | - | nmtoken | xsl:document, xml:output, xsl:stylesheet | - |
xsl:sort | - | tokens | xsl:strip-space | - |
zero-digit | - | char | xsl:decimal-format | - |
Página generada automáticamente desde la Base de Datos: XSLT/XSLTAtributos el 28/3/2008 15:48:48