在这方面遇到了一些麻烦。如何将命名空间 URL 属性添加到根目录?我什至有可能吗?欢迎任何解决方法。我必须使用 Dublin Core 中的一些定义,并且我的 XML 要求声明命名空间。IE
<metadata
  xmlns="http://example.org/myapp/"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://example.org/myapp/ http://example.org/myapp/schema.xsd"
  xmlns:dc="http://purl.org/dc/elements/1.1/">
  ...
</metadata>