Home » XPth Wildcard

XPth Wildcard

by Online Tutorials Library

XPath Wildcard

A list of XPath wildcards which are used with the XPath expressions.

Index Wildcard Expression
1) * It is used to match any node.
2) . It is used to match the current node in context.
3) @* It is used to match any attribute.
4) node() It is used to match node of any type.

XPath Wildcard Example

Let’s take an example to create a table of <employee> element with their detail, by iterating over each employee.

Employee.xml

Employee.xsl

Output:

Xpath Wildcard 1

Next TopicXPath Predicate

You may also like