Skip to content

Get XML format command to preserve whitespace as XML value #96

@hmobius

Description

@hmobius

I frequently want to space-separate a value in my XSL output and do so by using the following XSL

    <xsl:template match="d:blah">
        <xsl:text> </xsl:text>
        <xsl:element name="{local-name()}">
            <xsl:apply-templates />
        </xsl:element>
    </xsl:template>

But when I format the XSL using your extension, it removes the space from between the xsl:text tags. Please can you add a setting to preserve whitespace?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions