What's dxml DOMEntity(R) type ?

John Xu 728308756 at qq.com
Mon Jun 5 10:01:01 UTC 2023


The parseDOM returns a DOMEntity(R) type, how do I write a 
xmlRoot as global variable?
I need its detailed type (auto / Variant doesn't work).


         import dxml.dom;
         ?? xmlRoot;
         int main() {
             string xml = readText("a.xml");
             auto dom = parseDOM(xml);
             xmlRoot = dom.children[0];
         }


More information about the Digitalmars-d-learn mailing list