Closed
Description
Needed new feature.
"xmlTools.splitFirstXmlnsOnFormat": false
- if false
then first ns should not be aligned.
For example we have config:
{
"xmlTools.splitXmlnsOnFormat": true,
"xmlTools.splitFirstXmlnsOnFormat": false
}
and xml:
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<xml xmlns="http://www.w3.org/1999/xhtml" xmlns:soap="http://www.w3.org/2003/05/soap-envelope/" soap:encoding="http://www.w3.org/2003/05/soap-encoding">
<node></node>
</xml>
So aligned xml should be that:
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<xml xmlns="http://www.w3.org/1999/xhtml"
xmlns:soap="http://www.w3.org/2003/05/soap-envelope/"
soap:encoding="http://www.w3.org/2003/05/soap-encoding">
<node></node>
</xml>