repo_id
stringlengths
22
103
file_path
stringlengths
41
147
content
stringlengths
181
193k
__index_level_0__
int64
0
0
data/mdn-content/files/en-us/web/performance
data/mdn-content/files/en-us/web/performance/fundamentals/index.md
--- title: Performance fundamentals slug: Web/Performance/Fundamentals page-type: guide --- {{QuickLinksWithSubPages("Web/Performance")}} Performance means efficiency. In the context of Open Web Apps, this document explains in general what performance is, how the browser platform helps improve it, and what tools and ...
0
data/mdn-content/files/en-us/web/performance
data/mdn-content/files/en-us/web/performance/lazy_loading/index.md
--- title: Lazy loading slug: Web/Performance/Lazy_loading page-type: guide spec-urls: https://html.spec.whatwg.org/multipage/#lazy-loading-attributes --- {{QuickLinksWithSubPages("Web/Performance")}} **Lazy loading** is a strategy to identify resources as non-blocking (non-critical) and load these only when needed. ...
0
data/mdn-content/files/en-us/web/performance
data/mdn-content/files/en-us/web/performance/navigation_and_resource_timings/index.md
--- title: Navigation and resource timings slug: Web/Performance/Navigation_and_resource_timings page-type: guide --- {{QuickLinksWithSubPages("Web/Performance")}} **Navigation timings** are metrics measuring a browser's document navigation events. **Resource timings** are detailed network timing measurements regardi...
0
data/mdn-content/files/en-us/web/performance
data/mdn-content/files/en-us/web/performance/rum-vs-synthetic/index.md
--- title: "Performance Monitoring: RUM vs. synthetic monitoring" slug: Web/Performance/Rum-vs-Synthetic page-type: guide --- {{QuickLinksWithSubPages("Web/Performance")}} **Synthetic monitoring** and **real user monitoring (RUM)** are two approaches for monitoring and providing insight into web performance. RUM and ...
0
data/mdn-content/files/en-us/web/performance
data/mdn-content/files/en-us/web/performance/critical_rendering_path/index.md
--- title: Critical rendering path slug: Web/Performance/Critical_rendering_path page-type: guide --- {{QuickLinksWithSubPages("Web/Performance")}} The Critical Rendering Path is the sequence of steps the browser goes through to convert the HTML, CSS, and JavaScript into pixels on the screen. Optimizing the critical ...
0
data/mdn-content/files/en-us/web/performance
data/mdn-content/files/en-us/web/performance/optimizing_startup_performance/index.md
--- title: Optimizing startup performance slug: Web/Performance/Optimizing_startup_performance page-type: guide --- {{QuickLinksWithSubPages("Web/Performance")}} Improving your startup performance is often one of the highest value performance optimizations that can be made. How long does your app take to start up? Do...
0
data/mdn-content/files/en-us/web/performance
data/mdn-content/files/en-us/web/performance/dns-prefetch/index.md
--- title: Using dns-prefetch slug: Web/Performance/dns-prefetch page-type: guide --- {{QuickLinksWithSubPages("Web/Performance")}} **`DNS-prefetch`** is an attempt to resolve domain names before resources get requested. This could be a file loaded later or link target a user tries to follow. ## Why use dns-prefetch...
0
data/mdn-content/files/en-us/web/performance
data/mdn-content/files/en-us/web/performance/css_javascript_animation_performance/index.md
--- title: CSS and JavaScript animation performance slug: Web/Performance/CSS_JavaScript_animation_performance page-type: guide --- {{QuickLinksWithSubPages("Web/Performance")}} Animations are critical for a pleasurable user experience on many applications. There are many ways to implement web animations, such as CSS...
0
data/mdn-content/files/en-us/web/performance
data/mdn-content/files/en-us/web/performance/performance_budgets/index.md
--- title: Performance budgets slug: Web/Performance/Performance_budgets page-type: guide --- {{QuickLinksWithSubPages("Web/Performance")}} A performance budget is a limit to prevent regressions. It can apply to a file, a file type, all files loaded on a page, a specific metric (e.g. [Time to Interactive](/en-US/docs...
0
data/mdn-content/files/en-us/web/performance
data/mdn-content/files/en-us/web/performance/understanding_latency/index.md
--- title: Understanding latency slug: Web/Performance/Understanding_latency page-type: guide --- {{QuickLinksWithSubPages("Web/Performance")}} **Latency** is the time it takes for a packet of data to travel from source to a destination. In terms of performance optimization, it's important to optimize to reduce cause...
0
data/mdn-content/files/en-us/web/performance
data/mdn-content/files/en-us/web/performance/how_browsers_work/index.md
--- title: "Populating the page: how browsers work" slug: Web/Performance/How_browsers_work page-type: guide --- {{QuickLinksWithSubPages("Web/Performance")}} Users want web experiences with content that is fast to load and smooth to interact with. Therefore, a developer should strive to achieve these two goals. To ...
0
data/mdn-content/files/en-us/web/performance
data/mdn-content/files/en-us/web/performance/speculative_loading/index.md
--- title: Speculative loading slug: Web/Performance/Speculative_loading page-type: guide --- {{QuickLinksWithSubPages("Web/Performance")}} **Speculative loading** refers to the practice of performing navigation actions (such as DNS fetching, fetching resources, or rendering documents) before the associated pages are...
0
data/mdn-content/files/en-us/web
data/mdn-content/files/en-us/web/xslt/index.md
--- title: "XSLT: Extensible Stylesheet Language Transformations" slug: Web/XSLT page-type: landing-page --- {{XsltSidebar}} **Extensible Stylesheet Language Transformations (XSLT)** is an [XML](/en-US/docs/Web/XML/XML_introduction)-based language used, in conjunction with specialized processing software, for the tra...
0
data/mdn-content/files/en-us/web/xslt
data/mdn-content/files/en-us/web/xslt/element/index.md
--- title: XSLT elements reference slug: Web/XSLT/Element page-type: landing-page --- {{XsltSidebar}} There are two types of elements discussed here: top-level elements and instructions. A top-level element must appear as the child of either `<xsl:stylesheet>` or `<xsl:transform>`. An instruction, on the other hand, ...
0
data/mdn-content/files/en-us/web/xslt/element
data/mdn-content/files/en-us/web/xslt/element/attribute-set/index.md
--- title: <xsl:attribute-set> slug: Web/XSLT/Element/attribute-set page-type: xslt-element --- {{XsltSidebar}} The `<xsl:attribute-set>` element creates a named set of attributes, which can then be applied as whole to the output document, in a manner similar to named styles in CSS. ### Syntax ```xml <xsl:attribute...
0
data/mdn-content/files/en-us/web/xslt/element
data/mdn-content/files/en-us/web/xslt/element/strip-space/index.md
--- title: <xsl:strip-space> slug: Web/XSLT/Element/strip-space page-type: xslt-element --- {{XsltSidebar}} The `<xsl:strip-space>` element defines the elements in the source document for which whitespace should be removed. ### Syntax ```xml <xsl:strip-space elements=LIST-OF-ELEMENT-NAMES /> ``` ### Required Attri...
0
data/mdn-content/files/en-us/web/xslt/element
data/mdn-content/files/en-us/web/xslt/element/processing-instruction/index.md
--- title: <xsl:processing-instruction> slug: Web/XSLT/Element/processing-instruction page-type: xslt-element --- {{XsltSidebar}} The `<xsl:processing-instruction>` element writes a processing instruction to the output document. ### Syntax `<xsl:processing-instruction name=NAME> TEMPLATE </xsl:processing-instructio...
0
data/mdn-content/files/en-us/web/xslt/element
data/mdn-content/files/en-us/web/xslt/element/stylesheet/index.md
--- title: <xsl:stylesheet> slug: Web/XSLT/Element/stylesheet page-type: xslt-element spec-urls: https://www.w3.org/TR/xslt-30/#stylesheet-element --- {{XsltSidebar}} The `<xsl:stylesheet>` element (or the equivalent `<xsl:transform>` element) is the outermost element of a stylesheet. ### Namespace Declaration A ps...
0
data/mdn-content/files/en-us/web/xslt/element
data/mdn-content/files/en-us/web/xslt/element/if/index.md
--- title: <xsl:if> slug: Web/XSLT/Element/if page-type: xslt-element --- {{XsltSidebar}} The `<xsl:if>` element contains a test attribute and a template. If the test evaluates to true, the template is processed. In this it is similar to an if statement in other languages. To achieve the functionality of an if-then-e...
0
data/mdn-content/files/en-us/web/xslt/element
data/mdn-content/files/en-us/web/xslt/element/preserve-space/index.md
--- title: <xsl:preserve-space> slug: Web/XSLT/Element/preserve-space page-type: xslt-element --- {{XsltSidebar}} The `<xsl:preserve-space>` element defines the elements in the source document for which whitespace should be preserved. If there is more than one element, separate the names with a whitespace character. ...
0
data/mdn-content/files/en-us/web/xslt/element
data/mdn-content/files/en-us/web/xslt/element/variable/index.md
--- title: <xsl:variable> slug: Web/XSLT/Element/variable page-type: xslt-element --- {{XsltSidebar}} The `<xsl:variable>` element declares a global or local variable in a stylesheet and gives it a value. Because XSLT permits no side-effects, once the value of the variable has been established, it remains the same un...
0
data/mdn-content/files/en-us/web/xslt/element
data/mdn-content/files/en-us/web/xslt/element/element/index.md
--- title: <xsl:element> slug: Web/XSLT/Element/element page-type: xslt-element --- {{XsltSidebar}} The `<xsl:element>` element creates an element in the output document. ### Syntax ```xml <xsl:element name=NAME namespace=URI use-attribute-sets=LIST-OF-NAMES > TEMPLATE </xsl:element> ``` ### Required Attributes ...
0
data/mdn-content/files/en-us/web/xslt/element
data/mdn-content/files/en-us/web/xslt/element/when/index.md
--- title: <xsl:when> slug: Web/XSLT/Element/when page-type: xslt-element --- {{XsltSidebar}} The `<xsl:when>` element always appears within an `<xsl:choose>` element, acting like a case statement. ### Syntax ```xml <xsl:when test=EXPRESSION> TEMPLATE </xsl:when> ``` ### Required Attributes - `test` - : Speci...
0
data/mdn-content/files/en-us/web/xslt/element
data/mdn-content/files/en-us/web/xslt/element/template/index.md
--- title: <xsl:template> slug: Web/XSLT/Element/template page-type: xslt-element --- {{XsltSidebar}} The `<xsl:template>` element defines an output producing template. This element must have either the match attribute or the name attribute set. ### Syntax ```xml <xsl:template match=PATTERN name=NAME mode=NAM...
0
data/mdn-content/files/en-us/web/xslt/element
data/mdn-content/files/en-us/web/xslt/element/include/index.md
--- title: <xsl:include> slug: Web/XSLT/Element/include page-type: xslt-element --- {{XsltSidebar}} The `<xsl:include>` element merges the contents of one stylesheet with another. Unlike the case of `<xsl:import>`, the contents of an included stylesheet have exactly the same precedence as the contents of the includin...
0
data/mdn-content/files/en-us/web/xslt/element
data/mdn-content/files/en-us/web/xslt/element/transform/index.md
--- title: <xsl:transform> slug: Web/XSLT/Element/transform page-type: xslt-element --- {{XsltSidebar}} The `<xsl:transform>` element is exactly equivalent to the [`<xsl:stylesheet>`](/en-US/docs/Web/XSLT/Element/stylesheet) element. ### Gecko support Supported.
0
data/mdn-content/files/en-us/web/xslt/element
data/mdn-content/files/en-us/web/xslt/element/import/index.md
--- title: <xsl:import> slug: Web/XSLT/Element/import page-type: xslt-element --- {{XsltSidebar}} The `<xsl:import>` element is a top-level element that serves to import the contents of one stylesheet into another stylesheet. Generally speaking, the contents of the imported stylesheet have a lower import precedence t...
0
data/mdn-content/files/en-us/web/xslt/element
data/mdn-content/files/en-us/web/xslt/element/comment/index.md
--- title: <xsl:comment> slug: Web/XSLT/Element/comment page-type: xslt-element --- {{XsltSidebar}} The `<xsl:comment>` element writes a comment to the output document. It must include only text. ### Syntax ```xml <xsl:comment> TEMPLATE </xsl:comment> ``` ### Required Attributes None. ### Optional Attributes ...
0
data/mdn-content/files/en-us/web/xslt/element
data/mdn-content/files/en-us/web/xslt/element/output/index.md
--- title: <xsl:output> slug: Web/XSLT/Element/output page-type: xslt-element --- {{XsltSidebar}} The `<xsl:output>` element controls the characteristics of the output document. To function correctly in Netscape, this element, with the method attribute, must be used. As of 7.0, `method="text"` works as expected. ###...
0
data/mdn-content/files/en-us/web/xslt/element
data/mdn-content/files/en-us/web/xslt/element/apply-templates/index.md
--- title: <xsl:apply-templates> slug: Web/XSLT/Element/apply-templates page-type: xslt-element --- {{XsltSidebar}} The `<xsl:apply-templates>` element selects a set of nodes in the input tree and instructs the processor to apply the proper templates to them. ### Syntax ```xml <xsl:apply-templates select=EXPRESSION...
0
data/mdn-content/files/en-us/web/xslt/element
data/mdn-content/files/en-us/web/xslt/element/namespace-alias/index.md
--- title: <xsl:namespace-alias> slug: Web/XSLT/Element/namespace-alias page-type: xslt-element --- {{XsltSidebar}} The `<xsl:namespace-alias>` element is a rarely used device that maps a namespace in the stylesheet to a different namespace in the output tree. The most common use for this element is in generating a s...
0
data/mdn-content/files/en-us/web/xslt/element
data/mdn-content/files/en-us/web/xslt/element/copy-of/index.md
--- title: <xsl:copy-of> slug: Web/XSLT/Element/copy-of page-type: xslt-element --- {{XsltSidebar}} The `<xsl:copy-of>` element makes a deep copy (including descendant nodes) of whatever the select attribute specifies to the output document. ### Syntax ```xml <xsl:copy-of select=EXPRESSION /> ``` ### Required Attr...
0
data/mdn-content/files/en-us/web/xslt/element
data/mdn-content/files/en-us/web/xslt/element/apply-imports/index.md
--- title: <xsl:apply-imports> slug: Web/XSLT/Element/apply-imports page-type: xslt-element --- {{XsltSidebar}} The `<xsl:apply-imports>` element is fairly arcane, used mostly in complex stylesheets. Import precedence requires that template rules in main stylesheets have higher precedence than template rules in impor...
0
data/mdn-content/files/en-us/web/xslt/element
data/mdn-content/files/en-us/web/xslt/element/text/index.md
--- title: <xsl:text> slug: Web/XSLT/Element/text page-type: xslt-element --- {{XsltSidebar}} The `<xsl:text>` element writes literal text to the output tree. It may contain `#PCDATA`, literal text, and entity references. ### Syntax ```xml <xsl:text disable-output-escaping="yes" | "no"> TEXT </xsl:text> ``` ### ...
0
data/mdn-content/files/en-us/web/xslt/element
data/mdn-content/files/en-us/web/xslt/element/number/index.md
--- title: <xsl:number> slug: Web/XSLT/Element/number page-type: xslt-element --- {{XsltSidebar}} The `<xsl:number>` element counts things sequentially. It can also be used to quickly format a number. ### Syntax ```xml <xsl:number count=EXPRESSION level="single" | "multiple" | "any" from=EXPRESSION value=EX...
0
data/mdn-content/files/en-us/web/xslt/element
data/mdn-content/files/en-us/web/xslt/element/message/index.md
--- title: <xsl:message> slug: Web/XSLT/Element/message page-type: xslt-element --- {{XsltSidebar}} The `<xsl:message>` element outputs a message (to the JavaScript Console in NS) and optionally terminates execution of the stylesheet. It can be useful for debugging. ### Syntax ```xml <xsl:message terminate="yes" | ...
0
data/mdn-content/files/en-us/web/xslt/element
data/mdn-content/files/en-us/web/xslt/element/value-of/index.md
--- title: <xsl:value-of> slug: Web/XSLT/Element/value-of page-type: xslt-element --- {{XsltSidebar}} The `<xsl:value-of>` element evaluates an XPath expression, converts it to a string, and writes that string to the result tree. ### Syntax ```xml <xsl:value-of select=EXPRESSION disable-output-escaping="yes" | "no"...
0
data/mdn-content/files/en-us/web/xslt/element
data/mdn-content/files/en-us/web/xslt/element/with-param/index.md
--- title: <xsl:with-param> slug: Web/XSLT/Element/with-param page-type: xslt-element --- {{XsltSidebar}} The `<xsl:with-param>` element sets the value of a parameter to be passed into a template. ### Syntax ```xml <xsl:with-param name=NAME select=EXPRESSION> TEMPLATE </xsl:with-param> ``` ### Required Attribute...
0
data/mdn-content/files/en-us/web/xslt/element
data/mdn-content/files/en-us/web/xslt/element/decimal-format/index.md
--- title: <xsl:decimal-format> slug: Web/XSLT/Element/decimal-format page-type: xslt-element --- {{XsltSidebar}} The `<xsl:decimal-format>` element defines the characters and symbols that are to be used in converting numbers into strings using the `format-number( )` function. ### Syntax ```xml <xsl:decimal-format ...
0
data/mdn-content/files/en-us/web/xslt/element
data/mdn-content/files/en-us/web/xslt/element/otherwise/index.md
--- title: <xsl:otherwise> slug: Web/XSLT/Element/otherwise page-type: xslt-element --- {{XsltSidebar}} The `<xsl:otherwise>` element is used to define the action that should be taken when none of the `<xsl:when>` conditions apply. It is similar to the `else` or `default` case in other programming languages. ### Syn...
0
data/mdn-content/files/en-us/web/xslt/element
data/mdn-content/files/en-us/web/xslt/element/fallback/index.md
--- title: <xsl:fallback> slug: Web/XSLT/Element/fallback page-type: xslt-element --- {{XsltSidebar}} The `<xsl:fallback>` element specifies what template to use if a given extension (or, eventually, newer version) element is not supported. ### Syntax ```xml <xsl:fallback> TEMPLATE </xsl:fallback> ``` ### Requir...
0
data/mdn-content/files/en-us/web/xslt/element
data/mdn-content/files/en-us/web/xslt/element/key/index.md
--- title: <xsl:key> slug: Web/XSLT/Element/key page-type: xslt-element --- {{XsltSidebar}} The `<xsl:key>` element declares a named key which can be used elsewhere in the stylesheet with the `key( )` function. ### Syntax ```xml <xsl:key name=NAME match=EXPRESSION use=EXPRESSION /> ``` ### Required Attributes -...
0
data/mdn-content/files/en-us/web/xslt/element
data/mdn-content/files/en-us/web/xslt/element/for-each/index.md
--- title: <xsl:for-each> slug: Web/XSLT/Element/for-each page-type: xslt-element --- {{XsltSidebar}} The `<xsl:for-each>` element selects a set of nodes and processes each of them in the same way. It is often used to iterate through a set of nodes or to change the current node. If one or more `<xsl:sort>` elements a...
0
data/mdn-content/files/en-us/web/xslt/element
data/mdn-content/files/en-us/web/xslt/element/param/index.md
--- title: <xsl:param> slug: Web/XSLT/Element/param page-type: xslt-element --- {{XsltSidebar}} The `<xsl:param>` element establishes a parameter by name and, optionally, a default value for that parameter. When used as a top-level element, the parameter is global. When used inside an `<xsl:template>` element, the pa...
0
data/mdn-content/files/en-us/web/xslt/element
data/mdn-content/files/en-us/web/xslt/element/attribute/index.md
--- title: <xsl:attribute> slug: Web/XSLT/Element/attribute page-type: xslt-element --- {{XsltSidebar}} The `<xsl:attribute>` element creates an attribute in the output document, using any values that can be accessed from the stylesheet. The element must be defined before any other output document element inside the ...
0
data/mdn-content/files/en-us/web/xslt/element
data/mdn-content/files/en-us/web/xslt/element/sort/index.md
--- title: <xsl:sort> slug: Web/XSLT/Element/sort page-type: xslt-element --- {{XsltSidebar}} The `<xsl:sort>` element defines a sort key for nodes selected by `<xsl:apply-templates>` or `<xsl:for-each>` and determines the order in which they are processed. ### Syntax ```xml <xsl:sort select=EXPRESSION order="a...
0
data/mdn-content/files/en-us/web/xslt/element
data/mdn-content/files/en-us/web/xslt/element/copy/index.md
--- title: <xsl:copy> slug: Web/XSLT/Element/copy page-type: xslt-element --- {{XsltSidebar}} The `<xsl:copy>` element transfers a shallow copy (the node and any associated namespace node) of the current node to the output document. It does not copy any children or attributes of the current node. ### Syntax ```xml ...
0
data/mdn-content/files/en-us/web/xslt/element
data/mdn-content/files/en-us/web/xslt/element/choose/index.md
--- title: <xsl:choose> slug: Web/XSLT/Element/choose page-type: xslt-element --- {{XsltSidebar}} The `<xsl:choose>` element defines a choice among a number of alternatives. It behaves like a switch statement in procedural languages. ### Syntax ```xml <xsl:choose> <xsl:when test="[whatever to test1]"></xsl:when> ...
0
data/mdn-content/files/en-us/web/xslt/element
data/mdn-content/files/en-us/web/xslt/element/call-template/index.md
--- title: <xsl:call-template> slug: Web/XSLT/Element/call-template page-type: xslt-element --- {{XsltSidebar}} The `<xsl:call-template>` element invokes a named template. ### Syntax ```xml <xsl:call-template name=NAME> <xsl:with-param> [optional] </xsl:call-template> ``` ### Required Attribute - `name` - : S...
0
data/mdn-content/files/en-us/web/xslt
data/mdn-content/files/en-us/web/xslt/common_errors/index.md
--- title: Common XSLT Errors slug: Web/XSLT/Common_errors page-type: guide --- {{XsltSidebar}} ### MIME types Your server needs to send both the source and the stylesheet with a XML mime type, `text/xml` or `application/xml`. To find out the current type, load the file in Mozilla and look at the page info. Or use a...
0
data/mdn-content/files/en-us/web/xslt
data/mdn-content/files/en-us/web/xslt/pi_parameters/index.md
--- title: PI Parameters slug: Web/XSLT/PI_Parameters page-type: guide --- {{XsltSidebar}} ### Overview XSLT supports the concept of passing parameters to a stylesheet when executing it. This has been possible for a while when using the {{domxref("XSLTProcessor")}} in JavaScript. However when using an `<?xml-stylesh...
0
data/mdn-content/files/en-us/web/xslt
data/mdn-content/files/en-us/web/xslt/transforming_xml_with_xslt/index.md
--- title: Transforming XML with XSLT slug: Web/XSLT/Transforming_XML_with_XSLT page-type: guide --- {{XsltSidebar}} ## An Overview [An Overview](/en-US/docs/Web/XSLT/Transforming_XML_with_XSLT/An_Overview) The separation of content and presentation is a key design feature of [XML](/en-US/docs/Web/XML). The structu...
0
data/mdn-content/files/en-us/web/xslt/transforming_xml_with_xslt
data/mdn-content/files/en-us/web/xslt/transforming_xml_with_xslt/the_netscape_xslt_xpath_reference/index.md
--- title: The Netscape XSLT/XPath Reference slug: Web/XSLT/Transforming_XML_with_XSLT/The_Netscape_XSLT_XPath_Reference page-type: landing-page --- {{XsltSidebar}} The following is an alphabetized and annotated list of the elements, axes, and functions from the W3C's 1.0 Recommendation for XSLT, as well as from the ...
0
data/mdn-content/files/en-us/web/xslt/transforming_xml_with_xslt/the_netscape_xslt_xpath_reference/axes
data/mdn-content/files/en-us/web/xslt/transforming_xml_with_xslt/the_netscape_xslt_xpath_reference/axes/ancestor/index.md
--- title: ancestor slug: Web/XSLT/Transforming_XML_with_XSLT/The_Netscape_XSLT_XPath_Reference/Axes/ancestor page-type: xslt-axis --- {{XsltSidebar}} The ancestor axis indicates all the ancestors of the context node beginning with the parent node and traveling through to the root node.
0
data/mdn-content/files/en-us/web/xslt/transforming_xml_with_xslt/the_netscape_xslt_xpath_reference/axes
data/mdn-content/files/en-us/web/xslt/transforming_xml_with_xslt/the_netscape_xslt_xpath_reference/axes/parent/index.md
--- title: parent slug: Web/XSLT/Transforming_XML_with_XSLT/The_Netscape_XSLT_XPath_Reference/Axes/parent page-type: xslt-axis --- {{XsltSidebar}} The parent axis indicates the single node that is the parent of the context node. It can be abbreviated as two periods (`..`).
0
data/mdn-content/files/en-us/web/xslt/transforming_xml_with_xslt/the_netscape_xslt_xpath_reference/axes
data/mdn-content/files/en-us/web/xslt/transforming_xml_with_xslt/the_netscape_xslt_xpath_reference/axes/ancestor-or-self/index.md
--- title: ancestor-or-self slug: Web/XSLT/Transforming_XML_with_XSLT/The_Netscape_XSLT_XPath_Reference/Axes/ancestor-or-self page-type: xslt-axis --- {{XsltSidebar}} The ancestor-or-self axis indicates the context node and all of its ancestors, including the root node.
0
data/mdn-content/files/en-us/web/xslt/transforming_xml_with_xslt/the_netscape_xslt_xpath_reference/axes
data/mdn-content/files/en-us/web/xslt/transforming_xml_with_xslt/the_netscape_xslt_xpath_reference/axes/preceding/index.md
--- title: preceding slug: Web/XSLT/Transforming_XML_with_XSLT/The_Netscape_XSLT_XPath_Reference/Axes/preceding page-type: xslt-axis --- {{XsltSidebar}} The preceding axis indicates all the nodes that precede the context node in the document except any ancestor, attribute, and namespace nodes.
0
data/mdn-content/files/en-us/web/xslt/transforming_xml_with_xslt/the_netscape_xslt_xpath_reference/axes
data/mdn-content/files/en-us/web/xslt/transforming_xml_with_xslt/the_netscape_xslt_xpath_reference/axes/following-sibling/index.md
--- title: following-sibling slug: Web/XSLT/Transforming_XML_with_XSLT/The_Netscape_XSLT_XPath_Reference/Axes/following-sibling page-type: xslt-axis --- {{XsltSidebar}} The following-sibling axis indicates all the nodes that have the same parent as the context node and appear after the context node in the source docu...
0
data/mdn-content/files/en-us/web/xslt/transforming_xml_with_xslt/the_netscape_xslt_xpath_reference/axes
data/mdn-content/files/en-us/web/xslt/transforming_xml_with_xslt/the_netscape_xslt_xpath_reference/axes/child/index.md
--- title: child slug: Web/XSLT/Transforming_XML_with_XSLT/The_Netscape_XSLT_XPath_Reference/Axes/child page-type: xslt-axis --- {{XsltSidebar}} The child axis indicates the children of the context node. If an XPath expression does not specify an axis, the child axis is understood by default. Since only the root node...
0
data/mdn-content/files/en-us/web/xslt/transforming_xml_with_xslt/the_netscape_xslt_xpath_reference/axes
data/mdn-content/files/en-us/web/xslt/transforming_xml_with_xslt/the_netscape_xslt_xpath_reference/axes/descendant-or-self/index.md
--- title: descendant-or-self slug: Web/XSLT/Transforming_XML_with_XSLT/The_Netscape_XSLT_XPath_Reference/Axes/descendant-or-self page-type: xslt-axis --- {{XsltSidebar}} The descendant-or-self axis indicates the context node and all of its descendants. Attribute and namespace nodes are **not** included - the parent ...
0
data/mdn-content/files/en-us/web/xslt/transforming_xml_with_xslt/the_netscape_xslt_xpath_reference/axes
data/mdn-content/files/en-us/web/xslt/transforming_xml_with_xslt/the_netscape_xslt_xpath_reference/axes/self/index.md
--- title: self slug: Web/XSLT/Transforming_XML_with_XSLT/The_Netscape_XSLT_XPath_Reference/Axes/self page-type: xslt-axis --- {{XsltSidebar}} The self axis indicates the context node itself. It can be abbreviated as a single period (`.`).
0
data/mdn-content/files/en-us/web/xslt/transforming_xml_with_xslt/the_netscape_xslt_xpath_reference/axes
data/mdn-content/files/en-us/web/xslt/transforming_xml_with_xslt/the_netscape_xslt_xpath_reference/axes/descendant/index.md
--- title: descendant slug: Web/XSLT/Transforming_XML_with_XSLT/The_Netscape_XSLT_XPath_Reference/Axes/descendant page-type: xslt-axis --- {{XsltSidebar}} The descendant axis indicates all of the children of the context node, and all of their children, and so forth. Attribute and namespace nodes are **not** included ...
0
data/mdn-content/files/en-us/web/xslt/transforming_xml_with_xslt/the_netscape_xslt_xpath_reference/axes
data/mdn-content/files/en-us/web/xslt/transforming_xml_with_xslt/the_netscape_xslt_xpath_reference/axes/attribute/index.md
--- title: attribute slug: Web/XSLT/Transforming_XML_with_XSLT/The_Netscape_XSLT_XPath_Reference/Axes/attribute page-type: xslt-axis --- {{XsltSidebar}} The attribute axis indicates the attributes of the context node. Only elements have attributes. This axis can be abbreviated with the at sign (`@`).
0
data/mdn-content/files/en-us/web/xslt/transforming_xml_with_xslt/the_netscape_xslt_xpath_reference/axes
data/mdn-content/files/en-us/web/xslt/transforming_xml_with_xslt/the_netscape_xslt_xpath_reference/axes/following/index.md
--- title: following slug: Web/XSLT/Transforming_XML_with_XSLT/The_Netscape_XSLT_XPath_Reference/Axes/following page-type: xslt-axis --- {{XsltSidebar}} The following axis indicates all the nodes that appear after the context node, except any descendant, attribute, and namespace nodes.
0
data/mdn-content/files/en-us/web/xslt/transforming_xml_with_xslt/the_netscape_xslt_xpath_reference/axes
data/mdn-content/files/en-us/web/xslt/transforming_xml_with_xslt/the_netscape_xslt_xpath_reference/axes/namespace/index.md
--- title: namespace slug: Web/XSLT/Transforming_XML_with_XSLT/The_Netscape_XSLT_XPath_Reference/Axes/namespace page-type: xslt-axis --- {{XsltSidebar}} The namespace axis indicates all the nodes that are in scope for the context node. In this case, the context node must be an element node.
0
data/mdn-content/files/en-us/web/xslt/transforming_xml_with_xslt/the_netscape_xslt_xpath_reference/axes
data/mdn-content/files/en-us/web/xslt/transforming_xml_with_xslt/the_netscape_xslt_xpath_reference/axes/preceding-sibling/index.md
--- title: preceding-sibling slug: Web/XSLT/Transforming_XML_with_XSLT/The_Netscape_XSLT_XPath_Reference/Axes/preceding-sibling page-type: xslt-axis --- {{XsltSidebar}} The preceding-sibling axis indicates all the nodes that have the same parent as the context node and appear before the context node in the source doc...
0
data/mdn-content/files/en-us/web/xslt/transforming_xml_with_xslt
data/mdn-content/files/en-us/web/xslt/transforming_xml_with_xslt/for_further_reading/index.md
--- title: For further reading slug: Web/XSLT/Transforming_XML_with_XSLT/For_Further_Reading page-type: guide --- {{XsltSidebar}} [Β« Transforming XML with XSLT](/en-US/docs/Web/XSLT/Transforming_XML_with_XSLT) ## Print ### Books - **XSLT: Programmer's Reference, Second Edition** - **Author**: Michael H. Kay -...
0
data/mdn-content/files/en-us/web/xslt/transforming_xml_with_xslt
data/mdn-content/files/en-us/web/xslt/transforming_xml_with_xslt/an_overview/index.md
--- title: An overview slug: Web/XSLT/Transforming_XML_with_XSLT/An_Overview page-type: guide --- {{XsltSidebar}} [Β« Transforming XML with XSLT](/en-US/docs/Web/XSLT/Transforming_XML_with_XSLT) The eXtensible Stylesheet Language/Transform is a very powerful language, and a complete discussion of it is well beyond th...
0
data/mdn-content/files/en-us/web
data/mdn-content/files/en-us/web/html/index.md
--- title: "HTML: HyperText Markup Language" slug: Web/HTML page-type: landing-page --- {{HTMLSidebar}} **HTML** (HyperText Markup Language) is the most basic building block of the Web. It defines the meaning and structure of web content. Other technologies besides HTML are generally used to describe a web page's app...
0
data/mdn-content/files/en-us/web/html
data/mdn-content/files/en-us/web/html/quirks_mode_and_standards_mode/index.md
--- title: Quirks Mode slug: Web/HTML/Quirks_Mode_and_Standards_Mode page-type: guide --- {{HTMLSidebar}} In the old days of the web, pages were typically written in two versions: One for Netscape Navigator, and one for Microsoft Internet Explorer. When the web standards were made at W3C, browsers could not just star...
0
data/mdn-content/files/en-us/web/html
data/mdn-content/files/en-us/web/html/microformats/index.md
--- title: Microformats slug: Web/HTML/microformats page-type: guide --- {{HTMLSidebar}} [_Microformats_](https://microformats.org/) are standards used to embed semantics and structured data in HTML, and provide an API to be used by social web applications, search engines, aggregators, and other tools. These minimal ...
0
data/mdn-content/files/en-us/web/html
data/mdn-content/files/en-us/web/html/element/index.md
--- title: HTML elements reference slug: Web/HTML/Element page-type: landing-page --- {{HTMLSidebar("HTML_Elements")}} This page lists all the {{Glossary("HTML")}} {{Glossary("Element","elements")}}, which are created using {{Glossary("Tag", "tags")}}. They are grouped by function to help you find what you have in m...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/br/index.md
--- title: "<br>: The Line Break element" slug: Web/HTML/Element/br page-type: html-element browser-compat: html.elements.br --- {{HTMLSidebar}} The **`<br>`** [HTML](/en-US/docs/Web/HTML) element produces a line break in text (carriage-return). It is useful for writing a poem or an address, where the division of lin...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/area/index.md
--- title: "<area>: The Image Map Area element" slug: Web/HTML/Element/area page-type: html-element browser-compat: html.elements.area --- {{HTMLSidebar}} The **`<area>`** [HTML](/en-US/docs/Web/HTML) element defines an area inside an image map that has predefined clickable areas. An _image map_ allows geometric area...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/aside/index.md
--- title: "<aside>: The Aside element" slug: Web/HTML/Element/aside page-type: html-element browser-compat: html.elements.aside --- {{HTMLSidebar}} The **`<aside>`** [HTML](/en-US/docs/Web/HTML) element represents a portion of a document whose content is only indirectly related to the document's main content. Asides...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/body/index.md
--- title: "<body>: The Document Body element" slug: Web/HTML/Element/body page-type: html-element browser-compat: html.elements.body --- {{HTMLSidebar}} The **`<body>`** [HTML](/en-US/docs/Web/HTML) element represents the content of an HTML document. There can be only one `<body>` element in a document. ## Attribut...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/li/index.md
--- title: "<li>: The List Item element" slug: Web/HTML/Element/li page-type: html-element browser-compat: html.elements.li --- {{HTMLSidebar}} The **`<li>`** [HTML](/en-US/docs/Web/HTML) element is used to represent an item in a list. It must be contained in a parent element: an ordered list ({{HTMLElement("ol")}}),...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/abbr/index.md
--- title: "<abbr>: The Abbreviation element" slug: Web/HTML/Element/abbr page-type: html-element browser-compat: html.elements.abbr --- {{HTMLSidebar}} The **`<abbr>`** [HTML](/en-US/docs/Web/HTML) element represents an abbreviation or acronym. When including an abbreviation or acronym, provide a full expansion of ...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/figcaption/index.md
--- title: "<figcaption>: The Figure Caption element" slug: Web/HTML/Element/figcaption page-type: html-element browser-compat: html.elements.figcaption --- {{HTMLSidebar}} The **`<figcaption>`** [HTML](/en-US/docs/Web/HTML) element represents a caption or legend describing the rest of the contents of its parent {{HT...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/ul/index.md
--- title: "<ul>: The Unordered List element" slug: Web/HTML/Element/ul page-type: html-element browser-compat: html.elements.ul --- {{HTMLSidebar}} The **`<ul>`** [HTML](/en-US/docs/Web/HTML) element represents an unordered list of items, typically rendered as a bulleted list. {{EmbedInteractiveExample("pages/tabbe...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/source/index.md
--- title: "<source>: The Media or Image Source element" slug: Web/HTML/Element/source page-type: html-element browser-compat: html.elements.source --- {{HTMLSidebar}} The **`<source>`** [HTML](/en-US/docs/Web/HTML) element specifies one or more media resources for the {{HTMLElement("picture")}}, {{HTMLElement("audio...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/dir/index.md
--- title: "<dir>: The Directory element" slug: Web/HTML/Element/dir page-type: html-element status: - deprecated browser-compat: html.elements.dir --- {{HTMLSidebar}}{{Deprecated_Header}} The **`<dir>`** [HTML](/en-US/docs/Web/HTML) element is used as a container for a directory of files and/or folders, potentiall...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/blockquote/index.md
--- title: "<blockquote>: The Block Quotation element" slug: Web/HTML/Element/blockquote page-type: html-element browser-compat: html.elements.blockquote --- {{HTMLSidebar}} The **`<blockquote>`** [HTML](/en-US/docs/Web/HTML) element indicates that the enclosed text is an extended quotation. Usually, this is rendered...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/nav/index.md
--- title: "<nav>: The Navigation Section element" slug: Web/HTML/Element/nav page-type: html-element browser-compat: html.elements.nav --- {{HTMLSidebar}} The **`<nav>`** [HTML](/en-US/docs/Web/HTML) element represents a section of a page whose purpose is to provide navigation links, either within the current docume...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/map/index.md
--- title: "<map>: The Image Map element" slug: Web/HTML/Element/map page-type: html-element browser-compat: html.elements.map --- {{HTMLSidebar}} The **`<map>`** [HTML](/en-US/docs/Web/HTML) element is used with {{HTMLElement("area")}} elements to define an image map (a clickable link area). {{EmbedInteractiveExamp...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/button/index.md
--- title: "<button>: The Button element" slug: Web/HTML/Element/button page-type: html-element browser-compat: html.elements.button --- {{HTMLSidebar}} The **`<button>`** [HTML](/en-US/docs/Web/HTML) element is an interactive element activated by a user with a mouse, keyboard, finger, voice command, or other assisti...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/heading_elements/index.md
--- title: "<h1>–<h6>: The HTML Section Heading elements" slug: Web/HTML/Element/Heading_Elements page-type: html-element browser-compat: html.elements.h1 --- {{HTMLSidebar}} The **`<h1>`** to **`<h6>`** [HTML](/en-US/docs/Web/HTML) elements represent six levels of section headings. `<h1>` is the highest section leve...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/caption/index.md
--- title: "<caption>: The Table Caption element" slug: Web/HTML/Element/caption page-type: html-element browser-compat: html.elements.caption --- {{HTMLSidebar}} The **`<caption>`** [HTML](/en-US/docs/Web/HTML) element specifies the caption (or title) of a table, providing the table an {{glossary("accessible descrip...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/title/index.md
--- title: "<title>: The Document Title element" slug: Web/HTML/Element/title page-type: html-element browser-compat: html.elements.title --- {{HTMLSidebar}} The **`<title>`** [HTML](/en-US/docs/Web/HTML) element defines the document's title that is shown in a {{glossary("Browser", "browser")}}'s title bar or a page'...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/tt/index.md
--- title: "<tt>: The Teletype Text element" slug: Web/HTML/Element/tt page-type: html-element status: - deprecated browser-compat: html.elements.tt --- {{HTMLSidebar}}{{deprecated_header}} The **`<tt>`** [HTML](/en-US/docs/Web/HTML) element creates inline text which is presented using the {{Glossary("user agent", ...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/main/index.md
--- title: "<main>: The Main element" slug: Web/HTML/Element/main page-type: html-element browser-compat: html.elements.main --- {{HTMLSidebar}} The **`<main>`** [HTML](/en-US/docs/Web/HTML) element represents the dominant content of the {{HTMLElement("body")}} of a document. The main content area consists of content...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/frameset/index.md
--- title: <frameset> slug: Web/HTML/Element/frameset page-type: html-element status: - deprecated browser-compat: html.elements.frameset --- {{HTMLSidebar}}{{Deprecated_header}} The **`<frameset>`** [HTML](/en-US/docs/Web/HTML) element is used to contain {{HTMLElement("frame")}} elements. > **Note:** Because the ...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/noscript/index.md
--- title: "<noscript>: The Noscript element" slug: Web/HTML/Element/noscript page-type: html-element browser-compat: html.elements.noscript --- {{HTMLSidebar}} The **`<noscript>`** [HTML](/en-US/docs/Web/HTML) element defines a section of HTML to be inserted if a script type on the page is unsupported or if scriptin...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/menuitem/index.md
--- title: <menuitem> slug: Web/HTML/Element/menuitem page-type: html-element status: - deprecated - non-standard --- {{HTMLSidebar}}{{Deprecated_Header}}{{Non-standard_header}} The **`<menuitem>`** [HTML](/en-US/docs/Web/HTML) element represents a command that a user is able to invoke through a popup menu. This ...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/colgroup/index.md
--- title: "<colgroup>: The Table Column Group element" slug: Web/HTML/Element/colgroup page-type: html-element browser-compat: html.elements.colgroup --- {{HTMLSidebar}} The **`<colgroup>`** [HTML](/en-US/docs/Web/HTML) element defines a group of columns within a table. {{EmbedInteractiveExample("pages/tabbed/colgr...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/dialog/index.md
--- title: "<dialog>: The Dialog element" slug: Web/HTML/Element/dialog page-type: html-element browser-compat: html.elements.dialog --- {{HTMLSidebar}} The **`<dialog>`** [HTML](/en-US/docs/Web/HTML) element represents a modal or non-modal dialog box or other interactive component, such as a dismissible alert, inspe...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/a/index.md
--- title: "<a>: The Anchor element" slug: Web/HTML/Element/a page-type: html-element browser-compat: html.elements.a --- {{HTMLSidebar}} The **`<a>`** [HTML](/en-US/docs/Web/HTML) element (or _anchor_ element), with [its `href` attribute](#href), creates a hyperlink to web pages, files, email addresses, locations in...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/footer/index.md
--- title: "<footer>: The Footer element" slug: Web/HTML/Element/footer page-type: html-element browser-compat: html.elements.footer --- {{HTMLSidebar}} The **`<footer>`** [HTML](/en-US/docs/Web/HTML) element represents a footer for its nearest ancestor [sectioning content](/en-US/docs/Web/HTML/Content_categories#sec...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/form/index.md
--- title: "<form>: The Form element" slug: Web/HTML/Element/form page-type: html-element browser-compat: html.elements.form --- {{HTMLSidebar}} The **`<form>`** [HTML](/en-US/docs/Web/HTML) element represents a document section containing interactive controls for submitting information. {{EmbedInteractiveExample("p...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/data/index.md
--- title: "<data>: The Data element" slug: Web/HTML/Element/data page-type: html-element browser-compat: html.elements.data --- {{HTMLSidebar}} The **`<data>`** [HTML](/en-US/docs/Web/HTML) element links a given piece of content with a machine-readable translation. If the content is time- or date-related, the {{HTML...
0