How can I import XML data into Hadoop
You could try writing use HDFS Java API to create files in HDFS and write the whole content of the XML in each files.
Yes you could also go with flume, if there would be a large number of XML files getting generated from the source and will want to be sinked into HDFS.
You can have a look at these links :http://www.dummies.com/how-to/content/log-data-with-flume-in-hdfs.html