Javatpoint Logo
Javatpoint Logo

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





Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA