There's more than one way to do things | |
PerlMonks |
Re: text to xml conversionby CountZero (Bishop) |
on May 24, 2011 at 06:48 UTC ( [id://906429]=note: print w/replies, xml ) | Need Help?? |
There is an infinite number of ways you can transfer these data into XML. It will all depend on the format of the XML-file and for that you need a DTD-file (Document_Type_Definition-file). But why should you need to go through an XML file to put your data into a hash? If you tell us how the hash should look like, it is quite certain someone will find a way to do it directly. CountZero A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James
In Section
Seekers of Perl Wisdom
|
|