xsl:template
Element information
Namespace: http://www.w3.org/1999/XSL/Transform
Schema document: schema-for-xslt40.xsd
Type: Anonymous
Properties: Global, Qualified
Content
- Any text (mixed) content, intermingled with:
- Sequence [1..1]
- xsl:context-item [0..1]
- xsl:param [0..*]Declaration of the
xsl:paramelement, used both defining function parameters, template parameters, parameters toxsl:iterate, and global stylesheet parameters. - Choice [0..*]
- xsl:analyze-string
- xsl:apply-imports
- xsl:apply-templates
- xsl:array
- xsl:array-member
- xsl:assert
- xsl:attribute
- xsl:break
- xsl:call-template
- xsl:choose
- xsl:comment
- xsl:copy
- xsl:copy-of
- xsl:document
- xsl:element
- xsl:evaluate
- xsl:fallback
- xsl:for-each
- xsl:for-each-group
- xsl:fork
- xsl:if
- xsl:iterate
- xsl:map
- xsl:map-entry
- xsl:merge
- xsl:merge-key
- xsl:message
- xsl:namespace
- xsl:next-iteration
- xsl:next-match
- xsl:number
- xsl:on-empty
- xsl:on-non-empty
- xsl:perform-sort
- xsl:processing-instruction
- xsl:result-document
- xsl:sequence
- xsl:source-document
- xsl:switch
- xsl:text
- xsl:try
- xsl:value-of
- xsl:variableDeclaration of the
xsl:variableelement, used both for local and global variable bindings. - xsl:where-populated
- xsl:literal-result-elementAbstract [1..1]
- Any element Namespace: ##other, Process Contents: lax
- Any element Namespace: ##local, Process Contents: lax
from subst. group xsl:instructionfrom group xsl:result-elementsfrom subst. group xsl:literal-result-element
from group xsl:sequence-constructor-group
Attributes
Assertions
| Test | Description | Notes |
|---|---|---|
| exists(@match | @_match) or exists(@name | @_name) |
An | |
| if (empty(@match | @_match)) then (empty(@mode | @_mode) and empty(@priority | @_priority)) else true() |
An | |
| not(exists(@visibility | @_visibility) and empty(@name | @_name)) |
An | |
| if (normalize-space(@visibility) = 'abstract') then empty(* except (xsl:context-item, xsl:param)) else true() |
If the | |
| not(normalize-space(@visibility) = 'abstract' and exists(@match)) |
If the | |
| every $e in xsl:param satisfies empty($e/(@visibility | @_visibility)) | A parameter for a template must have no |
Used in
- Anonymous type of element xsl:mode
- Anonymous type of element xsl:override
- Anonymous type of element xsl:package
- Anonymous type of element xsl:stylesheet
- Anonymous type of element xsl:transform


