简体   繁体   中英

Creating an xml from an xmlObject

I am not able to find a suitable way to write an org.apache.xmlbeans.XmlObject instance to an xml file. Is there any api in java that can be used to write an XMLObject like Transformer for DOCSource. I am not able to find one.

刚刚找到了出路,由于xmlObject只是XMLTokenSource的实现,因此,我们可以使用xmlObject.save(File)编写此对象。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM