You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default Azure Data Studio seems to remove leading whitespace from the inner text in XML columns in the results of a query. In contrast SQL Server Management Studio (SSMS) retains leading whitespace in the inner text when displaying XML. Could Azure Data Studio be updated to retain the leading whitespace, like SSMS does, or include an option to do so?
Example:
declare @xml xml =
'<root>
<text>
Unindented text.
Single indented text.
Double-indented text.
</text>
</root>';
select @xml;
Result in Azure Data Studio, after clicking on the XML output column in the result pane to open the XML in a separate window:
I've tried unchecking setting Query Editor > Results > Save as Xml: Formatted but that doesn't make any difference so I assume it's for saving the results to a file.
The text was updated successfully, but these errors were encountered:
By default Azure Data Studio seems to remove leading whitespace from the inner text in XML columns in the results of a query. In contrast SQL Server Management Studio (SSMS) retains leading whitespace in the inner text when displaying XML. Could Azure Data Studio be updated to retain the leading whitespace, like SSMS does, or include an option to do so?
Example:
Result in Azure Data Studio, after clicking on the XML output column in the result pane to open the XML in a separate window:
Desired result:
I've tried unchecking setting
Query Editor > Results > Save as Xml: Formatted
but that doesn't make any difference so I assume it's for saving the results to a file.The text was updated successfully, but these errors were encountered: