I have an XML file that must conform to a particular XML Schema:
<?xml version="1.0" encoding="UTF-8"?>
<myroot
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="/home/nico/schemas/myroot.xsd">
<blabla />
</myroot>
When I edit this XML file in Vim, I would like to be told whether the syntax is OK, for instance by showing <blabla />
in red if it is not allowed by the XML Schema.
Most IDEs do that by default. Is it achievable with Vim?
If needed, I am OK with doing some particular configuration for this XML/XML Schema, as I edit this particular XML file very often. It is about a megabyte.