Articles tagged: XSLT_Reference

Found 93 documents

  • Web/EXSLT To use an EXSLT function, you need to declare the namespace the function is in, and then use the...
  • Web/EXSLT/exsl/node-set exsl:node-set() returns a node-set from a result tree fragment, which is what you get when you...
  • Web/EXSLT/exsl/object-type exsl:object-type() returns a string that indicates the type of the specified object.
  • Web/EXSLT/math/highest math:highest() returns the node in the specified node-set with the highest value (where the...
  • Web/EXSLT/math/lowest math:lowest() returns the node in the specified node-set with the lowest value (where the lowest...
  • Web/EXSLT/math/max math:max() returns the maximum value of a node-set.
  • Web/EXSLT/math/min math:min() returns the minimum value of a node-set.
  • Web/EXSLT/regexp/match regexp:match() performs regular expression matching on a string, returning the submatches found...
  • Web/EXSLT/regexp/replace regexp:replace() replaces the portions of a string that match a given regular expression with...
  • Web/EXSLT/regexp/test regexp:test() tests to see whether a string matches a specified regular expression.
  • Web/EXSLT/set/difference set:difference() returns the difference between two node-sets. In other words, it returns a...
  • Web/EXSLT/set/distinct set:distinct() returns a subset of the nodes in the specified node-set, returning only nodes...
  • Web/EXSLT/set/has-same-node set:has-same-node() determines whether two node-sets have any nodes in common.
  • Web/EXSLT/set/intersection set:intersection() returns the intersection of two node-sets. In other words, it returns a...
  • Web/EXSLT/set/leading set:leading() returns the nodes in one node-set that come before the first node in the other node-set.
  • Web/EXSLT/set/trailing set:trailing() returns the nodes in one node-set that come after the first node in the other node-set.
  • Web/EXSLT/str/concat str:concat() returns a string containing all the string values in a node-set concatenated together.
  • Web/EXSLT/str/split str:split() splits a string using a pattern string to determine where the splits should occur,...
  • Web/EXSLT/str/tokenize str:tokenize() splits a string using a set of characters as delimiters that determine where the...
  • Web/XPath/Axes For further information on using XPath expressions, please see the For Further Reading section...
  • Web/XPath/Functions
  • Web/XPath/Functions/boolean The boolean function evaluates an expression and returns true or false.
  • Web/XPath/Functions/ceiling The ceiling function evaluates a decimal number and returns the smallest integer greater than or...
  • Web/XPath/Functions/concat The concat function concatenates two or more strings and returns the resulting string.
  • Web/XPath/Functions/contains The contains function determines whether the first argument string contains the second argument...
  • Web/XPath/Functions/count The count function counts the number of nodes in a node-set and returns an integer.
  • Web/XPath/Functions/current The current function can be used to get the context node in an XSLT instruction.
  • Web/XPath/Functions/document The document finds a node-set in an external document, or multiple external documents, and...
  • Web/XPath/Functions/element-available The element-available function determines if an element is available and returns true or false.
  • Web/XPath/Functions/false The false function returns boolean false.
  • Web/XPath/Functions/floor The floor function evaluates a decimal number and returns the largest integer less than or equal...
  • Web/XPath/Functions/format-number The format-number function evaluates a number and returns a string representing the number in a...
  • Web/XPath/Functions/function-available The function-available function determines if a given function is available and returns boolean...
  • Web/XPath/Functions/generate-id The generate-id function generates a unique id for the first node in a given node-set and...
  • Web/XPath/Functions/id The id function finds nodes matching the given ids and returns a node-set containing the...
  • Web/XPath/Functions/key The key function returns a node-set of nodes that have the given value for the given key.
  • Web/XPath/Functions/lang The lang function determines whether the context node matches the given language and returns...
  • Web/XPath/Functions/last The last function returns a number equal to the context size from the expression evaluation context.
  • Web/XPath/Functions/local-name The local-name function returns a string representing the local name of the first node in a...
  • Web/XPath/Functions/name The name function returns a string representing the QName of the first node in a given node-set.
  • Web/XPath/Functions/namespace-uri The namespace-uri function returns a string representing the namespace URI of the first node in...
  • Web/XPath/Functions/normalize-space The normalize-space function strips leading and trailing white-space from a string, replaces...
  • Web/XPath/Functions/not The not function evaluates a boolean expression and returns the opposite value.
  • Web/XPath/Functions/number The number function converts an object to a number and returns the number.
  • Web/XPath/Functions/position The position function returns a number equal to the context position from the expression...
  • Web/XPath/Functions/round The round function returns a number that is the nearest integer to the given number.
  • Web/XPath/Functions/starts-with The starts-with checks whether the first string starts with the second string and returns true or false.
  • Web/XPath/Functions/string The string function converts the given argument to a string.
  • Web/XPath/Functions/string-length The string-length function returns a number equal to the number of characters in a given string.
  • Web/XPath/Functions/substring The substring function returns a part of a given string.
  • Web/XPath/Functions/substring-after The substring-after function returns a string that is the rest of a given string after a given substring.
  • Web/XPath/Functions/substring-before The substring-before function returns a string that is the rest of a given string before a given...
  • Web/XPath/Functions/sum The sum function returns a number that is the sum of the numeric values of each node in a given node-set.
  • Web/XPath/Functions/system-property The system-property function returns an object representing the given system-property.
  • Web/XPath/Functions/translate The translate function evaluates a string and a set of characters to translate and returns the...
  • Web/XPath/Functions/true The true function returns a boolean value of true.
  • Web/XPath/Functions/unparsed-entity-url The unparsed-entity-url() function returns the URI of the unparsed entity with the given name....
  • Web/XSLT/apply-imports The xsl:apply-imports element is fairly arcane, used mostly in complex stylesheets. Import...
  • Web/XSLT/apply-templates The xsl:apply-templates element selects a set of nodes in the input tree and instructs the...
  • Web/XSLT/attribute The xsl:attribute element creates an attribute in the output document, using any values that can...
  • Web/XSLT/attribute-set The xsl:attribute-set element creates a named set of attributes, which can then be applied as...
  • Web/XSLT/call-template The xsl:call-template element invokes a named template.
  • Web/XSLT/choose The xsl:choose element defines a choice among a number of alternatives. It behaves like a switch...
  • Web/XSLT/comment The xsl:comment element writes a comment to the output document. It must include only text.
  • Web/XSLT/copy The xsl:copy element transfers a shallow copy (the node and any associated namespace node) of...
  • Web/XSLT/copy-of The xsl:copy-of element makes a deep copy (including descendant nodes) of whatever the select...
  • Web/XSLT/decimal-format The xsl:decimal-format element defines the characters and symbols that are to be used in...
  • Web/XSLT/element The xsl:element element creates an element in the output document.
  • Web/XSLT/Elements On a related note, any attribute in an LRE and some attributes of a limited number of XSLT...
  • Web/XSLT/fallback The xsl:fallback element specifies what template to use if a given extension (or, eventually,...
  • Web/XSLT/for-each The xsl:for-each element selects a set of nodes and processes each of them in the same way. It...
  • Web/XSLT/if The xsl:if element contains a test attribute and a template. If the test evaluates to true, the...
  • Web/XSLT/import The xsl:import element is a top-level element that serves to import the contents of one...
  • Web/XSLT/include The xsl:include element merges the contents of one stylesheet with another. Unlike the case of...
  • Web/XSLT/key The xsl:key element declares a named key which can be used elsewhere in the stylesheet with the...
  • Web/XSLT/message The xsl:message element outputs a message (to the JavaScript Console in NS) and optionally...
  • Web/XSLT/namespace-alias The xsl:namespace-alias element is a rarely used device that maps a namespace in the stylesheet...
  • Web/XSLT/number The xsl:number element counts things sequentially. It can also be used to quickly format a number.
  • Web/XSLT/otherwise The xsl:otherwise element is used to define the action that should be taken when none of the...
  • Web/XSLT/output The xsl:output element controls the characteristics of the output document. To function...
  • Web/XSLT/param The xsl:param element establishes a parameter by name and, optionally, a default value for that...
  • Web/XSLT/preserve-space The xsl:preserve-space element defines the elements in the source document for which whitespace...
  • Web/XSLT/processing-instruction The xsl:processing-instruction element writes a processing instruction to the output document.
  • Web/XSLT/sort The xsl:sort element defines a sort key for nodes selected by xsl:apply-templates or...
  • Web/XSLT/strip-space The xsl:strip-space element defines the elements in the source document for which whitespace...
  • Web/XSLT/stylesheet The xsl:stylesheet element (or the equivalent xsl:transform element) is the outermost element of...
  • Web/XSLT/template The xsl:template element defines an output producing template. This element must have either the...
  • Web/XSLT/text The xsl:text element writes literal text to the output tree. It may contain #PCDATA, literal...
  • Web/XSLT/transform The xsl:transform element is exactly equivalent to the xsl:stylesheet element.
  • Web/XSLT/value-of The xsl:value-of element evaluates an XPath expression, converts it to a string, and writes that...
  • Web/XSLT/variable The xsl:variable element declares a global or local variable in a stylesheet and gives it a...
  • Web/XSLT/when The xsl:when element always appears within an xsl:choose element, acting like a case statement.
  • Web/XSLT/with-param The xsl:with-param element sets the value of a parameter to be passed into a template.