Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我可能遗漏了一些明显的东西,但是您如何在 PHP 中将aDOMDocument变成 a ?DOMNode
DOMDocument
DOMNode
ADOMDocument已经是(参见文档)DOMNode:
DOMDocument extends DOMNode
它代表根节点以及文档本身。