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 文件的任何节点添加多个属性...
例如。
<node att1 ="val1" att2 = "val2"/>
我想你的问题可能是......一个属性可以有多个值吗?答案是否定的......
如果你想要别的东西,请告诉我..