YouTip LogoYouTip

El Preserve Space

# XSLT and Elements * * Complete XSLT Element Reference](#) * * * ## Definition and Usage The element is used to define elements for which white space should be preserved. The element is used to define elements for which white space should be removed. **Note:** Preserving white space is the default setting, so using is only necessary when is used. **Note:** Both and are top-level elements. * * * ## Syntax ## Attributes | Attribute | Value | Description | | --- | --- | --- | | elements | list-of-element-names | Required. A space-separated list of elements specifying for which elements white space should be preserved/removed. **Note:** The list can include "*" and "prefix:*", allowing the inclusion of all elements or all elements from a specific namespace. | ### Example 1 In this example, we preserve white space nodes for the title and artist elements, and remove white space nodes from the country, company, price, and year elements:






* * Complete XSLT Element Reference](#)
← El Processing InstructionEl Param β†’