W3cubDocs

/XSLT & XPath

Index

Found 57 pages:

# Page Tags and summary
1 XPath CSS Selectors, DOM, JXON, Landing, Path, XML, XPath, XSLT
XPath stands for XML Path Language. It uses a non-XML syntax to provide a flexible way of addressing (pointing to) different parts of an XML document. It can also be used to test addressed nodes within a document to determine whether they match a pattern or not.
2 Axes Transforming_XML_with_XSLT, XPath, XPath_Reference, XSLT, XSLT_Reference
For further information on using XPath expressions, please see the For Further Reading section at the end of Transforming XML with XSLT document. Also see the 'axes' section in the xpath spec.
3 ancestor Axe, XPath
No summary!
4 ancestor-or-self Axe, XPath
The ancestor-or-self axis indicates the context node and all of its ancestors, including the root node.
5 attribute Axe, XPath
The attribute axis indicates the attributes of the context node. Only elements have attributes. This axis can be abbreviated with the at sign (@).
6 child Axe, XPath
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 or element nodes have children, any other use will select nothing.
7 descendant Axe, XPath
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 - the parent of an attribute node is an element node, but attribute nodes are not the children of their parents.
8 descendant-or-self Axe, XPath
The descendant-or-self axis indicates the context node and all of its descendants. Attribute and namespace nodes are not included - the parent of an attribute node is an element node, but attribute nodes are not the children of their parents.
9 following Axe, XPath
The following axis indicates all the nodes that appear after the context node, except any descendant, attribute, and namespace nodes.
10 following-sibling Axe, XPath
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 document.
11 namespace Axe, XPath
(not supported)
12 parent Axe, XPath
The parent axis indicates the single node that is the parent of the context node. It can be abbreviated as two periods (..).
13 preceding Axe, XPath
The preceding axis indicates all the nodes that precede the context node in the document except any ancestor, attribute and namespace nodes.
14 preceding-sibling Axe, XPath
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 document.
15 self Axe, XPath
The self axis indicates the context node itself. It can be abbreviated as a single period (.).
16 Comparison of CSS Selectors and XPath CSS, Draft, NeedsContent, Reference, Selectors, XPath
This article seeks to document the difference between CSS Selectors and XPath for web developers to be able to better choose the right tool for the right job.
17 Functions Transforming_XML_with_XSLT, XPath, XPath_Reference, XSLT, XSLT_Reference
No summary!
18 boolean XSLT, XSLT_Reference
The boolean function evaluates an expression and returns true or false.
19 ceiling XSLT, XSLT_Reference

The ceiling function evaluates a decimal number and returns the smallest integer greater than or equal to the decimal number.
20 choose Function, XPath, XSLT

The choose function returns one of the specified objects based on a boolean parameter.
21 concat XSLT, XSLT_Reference

The concat function concatenates two or more strings and returns the resulting string.
22 contains XSLT, XSLT_Reference

The contains function determines whether the first argument string contains the second argument string and returns boolean true or false.
23 count XSLT, XSLT_Reference

The count function counts the number of nodes in a node-set and returns an integer.
24 current XSLT, XSLT_Reference
The current function can be used to get the context node in an XSLT instruction.
25 document XSLT, XSLT_Reference

The document finds a node-set in an external document, or multiple external documents, and returns the resulting node-set.
26 element-available XSLT, XSLT_Reference

The element-available function determines if an element is available and returns true or false.
27 false XSLT, XSLT_Reference

The false function returns boolean false.
28 floor XSLT, XSLT_Reference

The floor function evaluates a decimal number and returns the largest integer less than or equal to the decimal number.
29 format-number XSLT, XSLT_Reference

The format-number function evaluates a number and returns a string representing the number in a given format.
30 function-available XSLT, XSLT_Reference

The function-available function determines if a given function is available and returns boolean true or false.
31 generate-id XSLT, XSLT_Reference

The generate-id function generates a unique id for the first node in a given node-set and returns a string containing that id.
32 id XSLT, XSLT_Reference

The id function finds nodes matching the given ids and returns a node-set containing the identified nodes.
33 key XSLT, XSLT_Reference

The key function returns a node-set of nodes that have the given value for the given key.
34 lang XSLT, XSLT_Reference

The lang function determines whether the context node matches the given language and returns boolean true or false.
35 last XSLT, XSLT_Reference

The last function returns a number equal to the context size from the expression evaluation context.
36 local-name XSLT, XSLT_Reference

The local-name function returns a string representing the local name of the first node in a given node-set.
37 name XSLT, XSLT_Reference

The name function returns a string representing the QName of the first node in a given node-set.
38 namespace-uri XSLT, XSLT_Reference

The namespace-uri function returns a string representing the namespace URI of the first node in a given node-set.
39 normalize-space XSLT, XSLT_Reference

The normalize-space function strips leading and trailing white-space from a string, replaces sequences of whitespace characters by a single space, and returns the resulting string.
40 not XSLT, XSLT_Reference

The not function evaluates a boolean expression and returns the opposite value.
41 number XSLT, XSLT_Reference

The number function converts an object to a number and returns the number.
42 position XSLT, XSLT_Reference

The position function returns a number equal to the context position from the expression evaluation context.
43 round XSLT, XSLT_Reference

The round function returns a number that is the nearest integer to the given number.
44 starts-with XSLT, XSLT_Reference

The starts-with checks whether the first string starts with the second string and returns true or false.
45 string XSLT, XSLT_Reference

The string function converts the given argument to a string.
46 string-length XSLT, XSLT_Reference

The string-length function returns a number equal to the number of characters in a given string.
47 substring XSLT, XSLT_Reference

The substring function returns a part of a given string.
48 substring-after XSLT, XSLT_Reference
The substring-after function returns a string that is the rest of a given string after a given substring.
49 substring-before XSLT, XSLT_Reference

The substring-before function returns a string that is the part of a given string before a given substring.
50 sum XSLT, XSLT_Reference

The sum function returns a number that is the sum of the numeric values of each node in a given node-set.
51 system-property XSLT, XSLT_Reference
The system-property function returns an object representing the given system-property.
52 translate XSLT, XSLT_Reference

The translate function evaluates a string and a set of characters to translate and returns the translated string.
53 true XSLT, XSLT_Reference

The true function returns a boolean value of true.
54 unparsed-entity-url XSLT, XSLT_Reference

The unparsed-entity-url() function returns the URI of the unparsed entity with the given name. This is non-XML data referenced in the DTD of the source document.
55 Index Index, Reference, XPath, XSLT
Found 57 pages:
56 Introduction to using XPath in JavaScript Add-ons, DOM, Extensions, JavaScript, Transforming_XML_with_XSLT, Web Development, XML, XPath, XSLT
This document describes the interface for using XPath in JavaScript internally, in extensions, and from websites. Mozilla implements a fair amount of the DOM 3 XPath, which means that XPath expressions can be run against both HTML and XML documents.
57 XPath snippets Example, Snippets, XML, XPath, XSLT
This article provides some XPath code snippets. The snippets are functions you can use in the real world in your own code.

© 2005–2020 Mozilla and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/XPath/Index