How to create a xml file?
no vote
When clients want to use http post method to update data in the remote server, clients needs to insert message into the request body. Nowadays in Internet of Things area, smart devices which wants to register to a remote server have to use http post method to finish application entity registration. Normally these registration information is sent reprented in xml format by smart device and sent to remote server. Now we provide a simple way to create a xml file using dom4j lib.