Document will take a Element as an argument in it's constructor. You can use a Serializer to write your XML to a file. You will need to make a new output stream ...
確定! 回上一頁