Posted on 2005-12-15 16:15:50-08 by sabrina
From XML file format to Tabular file format
Dear all, I would like to parse a XML formatted file into a simple tabular formatted file. For this, I am using the XML::parser module for Perl and setHandlers(Start ; Char). I am getting the information for each tag from the XML file and then I am trying to print it into a file. The problem is that I do not know if it is possible to set other parameters to the setHandlers Char method (like the file descriptor) and how to do it. Does anybody know if it is possible to transform the Char method so as to be able to pass new parameters? If not, do you know another way of parsing a XML file into a tabular file format using Perl? Thank you very much in advance.
Direct Responses: 1487 | Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.