How to Accessing XML with dynamic rootTagName through IntelliJ IDEA DOM

I am developing a plugin to work with a kind of xml config file.

the rootTag name of these xml file is dynamic ,



I wonder if I can use  DomManager.registerFileDescription() to regist this
kind of DomFileDescription ?

they don't have same root tag, what rootTagName should input in the
constructor : new DomFileDescription(Root.class, "root") ?


Please sign in to leave a comment.