PhpStorm brings powerful XML editing support that includes:
Validation and syntax highlighting.
Code completion (Ctrl+Space).
Indentation (Ctrl+Alt+I, Ctrl+Alt+L).
Intention actions (Alt+Enter).
Viewing code structure (Alt+7).
Navigation in the source code (Ctrl+B).
Integrated documentation (Ctrl+Q).
Search for usages (Alt+F7).
Select, move, copy lines and code blocks (Ctrl+/, Ctrl+Shift+/).
Unwrapping and removing tags (Ctrl+Shift+Delete).
Generating schemas from instance documents and vice versa.
PhpStorm uses Xerces 2.11, an XML parser developed by Apache Software Foundation Group.
To import an XML namespace
Open the desired file for editing, and start typing a tag. If a namespace is not bound, the following prompt appears:
PressAlt+Enter. If there are multiple choices, select the desired namespace from the list. PhpStorm creates a namespace declaration.