mozilla

Compare Revisions

Elements

Change Revisions

Revision 46157:

Revision 46157 by Sheppy on

Revision 46158:

Revision 46158 by Bogdan on

Title:
Elements
Elements
Slug:
XSLT/Elements
XSLT/Elements
Tags:
XSLT, XSLT_Reference
XSLT, XSLT_Reference
Content:

Revision 46157
Revision 46158
n11      On a related note, any attribute in an LRE and some attribun11      On a related note, any attribute in an LRE and some attribu
>tes of a limited number of XSLT elements can also include what is>tes of a limited number of XSLT elements can also include what is
> known as an attribute value template. An attribute value templat> known as an attribute value template. An attribute value templat
>e is simply a string that includes an embedded XPath expression w>e is simply a string that includes an embedded XPath expression w
>hich is used to specify the value of an attribute. At run-time th>hich is used to specify the value of an attribute. At run-time th
>e expression is evaluated and the result of the evaluation is sub>e expression is evaluated and the result of the evaluation is sub
>stituted for the XPath expression. For example, assume that a var>stituted for the XPath expression. For example, assume that a var
>iable "<tt>image-dir</tt>" is defined as follows:>iable "<code>image-dir</code>" is defined as follows:
n32      <li>n32      <li>{{ XSLTElement("apply-imports") }}&nbsp;<a href="/en/XS
 >LT/apply-imports" title="en/XSLT/apply-imports">xsl:apply-imports
 ></a>
33        <a href="en/XSLT/apply-imports">xsl:apply-imports</a>
n36        <a href="en/XSLT/apply-templates">xsl:apply-templates</a>n35        <a href="/en/XSLT/apply-templates" title="en/XSLT/apply-t
 >emplates">xsl:apply-templates</a>
n39        <a href="en/XSLT/attribute">xsl:attribute</a>n38        <a href="/en/XSLT/attribute" title="en/XSLT/attribute">xs
 >l:attribute</a>
n42        <a href="en/XSLT/attribute-set">xsl:attribute-set</a>n41        <a href="/en/XSLT/attribute-set" title="en/XSLT/attribute
 >-set">xsl:attribute-set</a>
n45        <a href="en/XSLT/call-template">xsl:call-template</a>n44        <a href="/en/XSLT/call-template" title="en/XSLT/call-temp
 >late">xsl:call-template</a>
n48        <a href="en/XSLT/choose">xsl:choose</a>n47        <a href="/en/XSLT/choose" title="en/XSLT/choose">xsl:choo
 >se</a>
n51        <a href="en/XSLT/comment">xsl:comment</a>n50        <a href="/en/XSLT/comment" title="en/XSLT/comment">xsl:co
 >mment</a>
n54        <a href="en/XSLT/copy">xsl:copy</a>n53        <a href="/en/XSLT/copy" title="en/XSLT/copy">xsl:copy</a>
n57        <a href="en/XSLT/copy-of">xsl:copy-of</a>n56        <a href="/en/XSLT/copy-of" title="en/XSLT/copy-of">xsl:co
 >py-of</a>
n60        <a href="en/XSLT/decimal-format">xsl:decimal-format</a>n59        <a href="/en/XSLT/decimal-format" title="en/XSLT/decimal-
 >format">xsl:decimal-format</a>
n63        <a href="en/XSLT/element">xsl:element</a>n62        <a href="/en/XSLT/element" title="en/XSLT/element">xsl:el
 >ement</a>
n66        <a href="en/XSLT/fallback">xsl:fallback</a> <i>(not suppon65        <a href="/en/XSLT/fallback" title="en/XSLT/fallback">xsl:
>rted)</i>>fallback</a> <em>(not supported)</em>
n69        <a href="en/XSLT/for-each">xsl:for-each</a>n68        <a href="/en/XSLT/for-each" title="en/XSLT/for-each">xsl:
 >for-each</a>
n72        <a href="en/XSLT/if">xsl:if</a>n71        <a href="/en/XSLT/if" title="en/XSLT/if">xsl:if</a>
n75        <a href="en/XSLT/import">xsl:import</a> <i>(mostly supporn74        <a href="/en/XSLT/import" title="en/XSLT/import">xsl:impo
>ted)</i>>rt</a> <em>(mostly supported)</em>
n78        <a href="en/XSLT/include">xsl:include</a>n77        <a href="/en/XSLT/include" title="en/XSLT/include">xsl:in
 >clude</a>
n81        <a href="en/XSLT/key">xsl:key</a>n80        <a href="/en/XSLT/key" title="en/XSLT/key">xsl:key</a>
n84        <a href="en/XSLT/message">xsl:message</a>n83        <a href="/en/XSLT/message" title="en/XSLT/message">xsl:me
 >ssage</a>
n87        <a href="en/XSLT/namespace-alias">xsl:namespace-alias</a>n86        <a href="/en/XSLT/namespace-alias" title="en/XSLT/namespa
> <i>(not supported)</i>>ce-alias">xsl:namespace-alias</a> <em>(not supported)</em>
n90        <a href="en/XSLT/number">xsl:number</a> <i>(partially supn89        <a href="/en/XSLT/number" title="en/XSLT/number">xsl:numb
>ported)</i>>er</a> <em>(partially supported)</em>
n93        <a href="en/XSLT/otherwise">xsl:otherwise</a>n92        <a href="/en/XSLT/otherwise" title="en/XSLT/otherwise">xs
 >l:otherwise</a>
n96        <a href="en/XSLT/output">xsl:output</a> <i>(partially supn95        <a href="/en/XSLT/output" title="en/XSLT/output">xsl:outp
>ported)</i>>ut</a> <em>(partially supported)</em>
n99        <a href="en/XSLT/param">xsl:param</a>n98        <a href="/en/XSLT/param" title="en/XSLT/param">xsl:param<
 >/a>
n102        <a href="en/XSLT/preserve-space">xsl:preserve-space</a>n101        <a href="/en/XSLT/preserve-space" title="en/XSLT/preserve
 >-space">xsl:preserve-space</a>
n105        <a href="en/XSLT/processing-instruction">xsl:processing-in104        <a href="/en/XSLT/processing-instruction" title="en/XSLT/
>nstruction</a>>processing-instruction">xsl:processing-instruction</a>
n108        <a href="en/XSLT/sort">xsl:sort</a>n107        <a href="/en/XSLT/sort" title="en/XSLT/sort">xsl:sort</a>
n111        <a href="en/XSLT/strip-space">xsl:strip-space</a>n110        <a href="/en/XSLT/strip-space" title="en/XSLT/strip-space
 >">xsl:strip-space</a>
n114        <a href="en/XSLT/stylesheet">xsl:stylesheet</a> <i>(partin113        <a href="/en/XSLT/stylesheet" title="en/XSLT/stylesheet">
>ally supported)</i>>xsl:stylesheet</a> <em>(partially supported)</em>
n117        <a href="en/XSLT/template">xsl:template</a>n116        <a href="/en/XSLT/template" title="en/XSLT/template">xsl:
 >template</a>
n120        <a href="en/XSLT/text">xsl:text</a> <i>(partially supportn119        <a href="/en/XSLT/text" title="en/XSLT/text">xsl:text</a>
>ed)</i>> <em>(partially supported)</em>
n123        <a href="en/XSLT/transform">xsl:transform</a>n122        <a href="/en/XSLT/transform" title="en/XSLT/transform">xs
 >l:transform</a>
n126        <a href="en/XSLT/value-of">xsl:value-of</a> <i>(partiallyn125        <a href="/en/XSLT/value-of" title="en/XSLT/value-of">xsl:
> supported)</i>>value-of</a> <em>(partially supported)</em>
n129        <a href="en/XSLT/variable">xsl:variable</a>n128        <a href="/en/XSLT/variable" title="en/XSLT/variable">xsl:
 >variable</a>
n132        <a href="en/XSLT/when">xsl:when</a>n131        <a href="/en/XSLT/when" title="en/XSLT/when">xsl:when</a>
n135        <a href="en/XSLT/with-param">xsl:with-param</a>n134        <a href="/en/XSLT/with-param" title="en/XSLT/with-param">
 >xsl:with-param</a>
tt136    </ul>
137    <p>
137    </ul>{{ languages( { "fr": "fr/XSLT/\u00c9l\u00e9ments", "ja"138      {{ languages( { "fr": "fr/XSLT/\u00c9l\u00e9ments", "ja": "
>: "ja/XSLT/Elements", "pl": "pl/XSLT/Elementy" } ) }}>ja/XSLT/Elements", "pl": "pl/XSLT/Elementy" } ) }}
139    </p>

Back to History