XSLT Element
--
- Home
- HTML
- JavaScript
- CSS
- Vue
- React
- Python3
- Java
- C
- C++
- C#
- AI
- Go
- SQL
- Linux
- VS Code
- Bootstrap
- Git
- Local Bookmarks
XSLT Tutorial
XSLT TutorialXSL LanguageXSLT IntroductionXSLT BrowsersXSLT TransformationXSLT XSLT XSLT XSLT XSLT XSLT XSLT ApplyXSLT ClientXSLT Server-sideXSLT Edit XMLXML EditorsXSLT SummaryXSLT ExamplesXSLT ElementsXSLT FunctionsXSLT Transformation Tool
Deep Dive
- Programming
- Web Services
- Software
- Scripting
- Development Tools
- Programming Languages
- Search
- Web Design & Development
- Scripting Languages
- Web Service
XSLT Element
Complete XSLT Elements Reference Manual
Definition and Usage
The element contains rules to be applied when a specified node is matched.
The match attribute is used to associate the template with an XML element. The match attribute can also be used to define a template for an entire branch of the XML document (e.g., match="/" defines the whole document).
Note: is a top-level element.
Syntax
<!-- Content:(*,template) -->
Attributes
| Attribute | Value | Description |
|---|---|---|
| name | name | Optional. Defines a name for the template. Note: If this attribute is omitted, the match attribute must be set. |
| match | pattern | Optional. The pattern to match for the template. Note: If this attribute is omitted, the name attribute must be set. |
| mode | mode | Optional. Specifies a mode for the template. |
| priority | number | Optional. A number indicating the priority of the template. |
Example
My CD Collection
Title:Artist:
View XML file, View XSL file, View result.
YouTip