18 ms·
XSLT will perform the transformations that you instruct it to do. It does not wipe out whitespace just on its own. Do you mean that you'd like facilities to nic
by ebruchez 1y ago
XSLT will perform the transformations that you instruct it to do. It does not wipe out whitespace just on its own. Do you mean that you'd like facilities to nicely reindent the output?
- notfed 1y ago> It does not wipe out whitespace just on its own. Sounds nice but doesn't match my lived experience with both Chrome's built-in XSLT processor and `xsltproc`. (I was using XSLT 1.0, for legacy reasons, so maybe this is an XSLT 1.0 issue?) > Do you mean that you'd like facilities to nicely reindent the output? No, I do mean preserve whitespace (i.e., formatting), such as between elements and between attributes.
- froh 1y agousually whitespace (in) significance is specified in the XML schema. so if you provide a schema and instruct the xslt engine to comply with the schema, do your issues persist?