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.
我想要
<node a="2" d="1" c="2">
转换为
<node a="2" c="2" d="1">
你能用更少的努力提出一些解决方案吗?
使用 XML 规范化库。XML 规范形式要求属性按字母顺序排列(以便通过在字节级别比较两个文档来比较它们是否相等)。
I need to get Element object with request. I have ObjectFactory. I created an JAXBElement, and I need to marshall it to Element. Could anyone help me?