Depending on exactly what you want to do with the generated "code" (all I can see in your example are some accessors) and provided your XML files are reasonably small, you might be able to get away with XML::Simple. This will NOT generate code or classes from schemas, but it WILL generate a nice Perl-y datastructure from XML files.
From the docs:
That seems to be what you want from where I'm standing, anyway :-)
Joost.
| [reply] [d/l] [select] |
Hello ayvazj. From your posts and the replies of monks more experienced that I am, I'm starting to suspect that you're not getting the answers you need in part because you are asking for information about a solution you have decided is appropriate.
It would be better to fully describe the problem and let the skills and imagination of the monks suggest solutions. (you'll probably get more than one!)
-theo-
(so many nodes and so little time ... )
| [reply] |