Extract xml data and create word document using perl.

Hi,
I have large xml data file.I need to extract node and some tags in the node and after I need to create word document. my XMl data is look like as below

-<student>
         <number>24</number>
          <education>bachelor</bachelor>
          <specialization>computers</specialization>
          -<Address>
              <house_number="128"/>
              <street number="38"/>
               <proddutoor/>
             <Address/>    
           -<Details>
                <name="xxxx"/>
                 <age="24"/>
                  <sex= "m"/>
                <Details/>
   </student>...........

i have xml data for more number of students........ like that but now i need to extract only number and address of students.my output look like this below

number: 24
adress: <Address>
              <house_number="128"/>
              <street number="38"/>
               <proddutoor/>
             <Address/>
number: 25
adress: <Address>
              <house_number="128"/>
              <street number="87"/>
               <pulivendula/>
             <Address/>..........

I need to extract xml data like above format and create word document for that information.

I love perl, but parsing XML documents with it is not my idea of fun. The XML::Lite module should be able to handle what you need. However, spitting out a Word document is another story. Can you output PDF or RTF instead?

Hi,
I extracted some information from my xml data, I stored in a hash. i am printing my hash my output look like this

$var1={
        'stud.xml'={ 
                   '24'=>'<address>
                           <streetname="xxxx"/>
                            <housenum="138"/">
                           </address>'
                     '20'=>'<address>
                           <streetname="xxxx"/>
                            <housenum="110"/">
                           </address>'
                         }
         'pav.xml'={ 
                   '26'=>'<address>
                           <streetname="xxxx"/>
                            <housenum="138"/">
                           </address>'
                     '27'=>'<address>
                           <streetname="xxxx"/>
                            <housenum="110"/">
                           </address>'
                         }
                         .
                         .
                         .
                 }

because I have xml files in different folders so I searched and extracted some information from all xml files and stored in hash. now I need to convert this data into pdf. I decided to convert into pdf by using latex. so first I need to convert from xml to latex template by using perl and I will run it on latex compiler.how to convert my resultant xml to template.

Wow! You've made some progress. There's a module for perl to output pdf: using "PDF::API2".

This document describes how to generate LaTeX templates that can be then used to generated PDFs.