![Avatar](https://secure.gravatar.com/avatar/469b0122279e381a024b2cb3abe4f056.jpg?s=64&d=identicon&r=g)
How can I prevent the xmlns from being automatically added when I add a tag? I already have the xmlns added at the root node in the document and in code in schemaresolver.
protected override void OnSyntaxEditorIntelliPromptMemberListClosing(SyntaxEditor syntaxEditor, System.ComponentModel.CancelEventArgs e)
{
if (!e.Cancel)
{
IntelliPromptMemberListItem li = syntaxEditor.IntelliPrompt.MemberList.SelectedItem;
if (li != null && li.AutoCompletePreText != li.Text && !(li.Tag is System.Xml.Schema.XmlSchemaAttribute))
li.AutoCompletePreText = li.Text;
}
base.OnSyntaxEditorIntelliPromptMemberListClosing(syntaxEditor, e);
Please log in to a validated account to post comments.