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.
有没有一种方法可以让 xml 文档引用在同一台机器上的其他 xml 文件中定义的变量/元素?
当然,像这样:
外部.xml:
<!DOCTYPE outer [ <!ELEMENT outer ANY> <!ENTITY inner SYSTEM "inner.xml" > ]> <outer> &inner; &inner; </outer>
内部.xml
<inner/>