I know that XML Tools will validate an XML doc against an XSD file, and works well, but is it (or any other plugin) capable of offering tag auto-completion of XML tags based on XSD file (e.i offer me allowed tags or suggest allowed attributes)?
For example, Eclipse editor does this tag auto-completion very nicely.
Reference the XSD schema in the XML document using XML schema instance attributes such as either xsi:schemaLocation or xsi:noNamespaceSchemaLocation. Add the XSD schema file to a schema cache and then connect that cache to the DOM document or SAX reader, prior to loading or parsing the XML document.
Notepad++ in combination with the XML Tools Plugin and the XidML schema is a smart way to validate XidML files (basically any XML file where you have a schema).
Select and Install XML Tools in Notepad++. Import the XML document that you want to validate. Click on the Plugins > XML Tools > Validate Now option. Browse and select an XSD file to validate the XML file against it.
To my best knowledge there is no autocompletion against a xsd in notepad++ - so please concider making a feature request to the XML Tools author, or (simpler) use another editor such as eclipse, Visual Studio Code, Altova XMLSpy, etc. I guess there is no autocompletion against a xsd, because this feature is to complex for such a simple text editor.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With