![]() |
XPath-Absolute Path is the exact path specifying to reach the XML node. The absolute path starts with the root node or with the ‘/’ symbol. For the absolute path, we have to specify every parent node of the node we want to reach. Syntax: <xsl:TagName select = "/rootNode/node1/..."> Parameters:
Example 1: In this example, we will use the absolute path to select the different nodes of students. Save the file as mentioned and view xsl file in we browser. XML
XML
Output: ![]() Example 1: output Example 2: In this example we will select different node of XML tree and use apply template on nodes. Save the file as mentioned and run the xsl file in web browser. XML
XML
Output: ![]() Example 2: output |
Reffered: https://www.geeksforgeeks.org
Data Formats |
Related |
---|
![]() |
![]() |
![]() |
Type: | Geek |
Category: | Coding |
Sub Category: | Tutorial |
Uploaded by: | Admin |
Views: | 14 |