May 28, 2021 XSL T
In XSLT, both elements are related to blank elements, refer to the contents of this section.
The element is used to define elements that remain blank.
The element is used to define the element that removes the blank space.
Note: Keeping white space is the default setting, so it is only necessary to use the .lt;xsl:strip-space-gt; element.
Note: The elements are both top-level elements (top-level element) and the elements of the .lt;xsl:strip-space-gt;
Attributes | value | describe |
---|---|---|
elements | list-of-element-names |
Required.A list of spaces separated by a space specify the reservation / delete blank element. Notice: In the list, "*" and "prefix: *" can be included, so you can join all elements or all elements from a specific namespace. |
In this example, we reserved blank nodes for the title and artist elements and removed them from the country, company, price, and year elements: