I am trying to read a XML form using Perl. It is a simple XML form which has some basic information and a MS word doc attachment.
Now I am able to read the XML with XML::Simple module, but the problem is that the is decoding the file using base64 encode.
I have managed to decode it but not able to save it in MS word doc with the same format. It is showing some unreadable format ans text. I want to create a MS word doc from this base64 encoded file. Could you please help me on this ?
Sample XML:
<?xml version="1.0"?>
<catalog>
<book id="bk101">
<author>Gambardella, Matthew</author>
<title>XML Developer's Guide</title>
<genre>Computer</genre>
<price>44.95</price>
<publish_date>2000-10-01</publish_date>
<description>An in-depth look at creating applications
with XML.</description>
<attached_path>khdgsdybcmnlxkjhdosbduyis/nbjxnciud7djbsjdlagisia/jbkjgdhjsagduysdgisdisodhoishdoi/bcvhgiugudigwyiwyo
</attached_path>
</book>
</catalog>