如何在android sdk中将dom元素序列化为xml?

时间:2022-04-25 04:41:55

org.w3c.dom.Element to String(XML)?

org.w3c.dom.Element to String(XML)?

The typical use of LSSerializer does not work as there is no implementation available in android.

LSSerializer的典型用法不起作用,因为android中没有可用的实现。

Any ideas?

有任何想法吗?

1 个解决方案

#1


0  

That seems to depend on what api level you are targeting. If it is 8 or above, see the plugminds answer to a related question https://*.com/a/3551691/1148030

这似乎取决于您所针对的api级别。如果是8或以上,请参阅插件回答相关问题https://*.com/a/3551691/1148030

#1


0  

That seems to depend on what api level you are targeting. If it is 8 or above, see the plugminds answer to a related question https://*.com/a/3551691/1148030

这似乎取决于您所针对的api级别。如果是8或以上,请参阅插件回答相关问题https://*.com/a/3551691/1148030