xsl:comment
Element information
Namespace: http://www.w3.org/1999/XSL/Transform
Schema document: XSLT.xsd
Type: Anonymous
Properties: Global, Qualified
Content
- Any text (mixed) content, intermingled with:
- Choice [0..*]
- xsl:top-level-element-and-char-instructionAbstract [1..1]
from subst. group xsl:char-instructionfrom subst. group xsl:top-level-element-and-char-instruction
Attributes
Name | Occ | Type | Description | Notes |
---|---|---|---|---|
Any attribute | [0..*] | Namespace: ##other, Process Contents: skip | from type xsl:anyType | |
xml:space | [0..1] | Anonymous |
Used in
- Anonymous type of element xsl:for-each
- Anonymous type of element xsl:template
- Group xsl:template
- Anonymous type of element xsl:copy via reference to xsl:template
- Anonymous type of element xsl:element via reference to xsl:template
- Anonymous type of element xsl:fallback via reference to xsl:template
- Anonymous type of element xsl:if via reference to xsl:template
- Anonymous type of element xsl:message via reference to xsl:template
- Anonymous type of element xsl:otherwise via reference to xsl:template
- Anonymous type of element xsl:when via reference to xsl:template
- Type xsl:variable via reference to xsl:template (Elements xsl:param, xsl:variable, xsl:with-param)
Substitution hierarchy
- xsl:instruction
- can be substituted with xsl:comment
Sample instance
<xsl:comment>Any text, intermingled with: <xsl:variable name="NCName">Any text, intermingled with: <xsl:top-level-element-and-char-instruction/> </xsl:variable> </xsl:comment>