in reply to Re: Reading structures from XML
in thread Reading structures from XML
So, in general, have the user write a function that takes the Element and return the Perl object. But, have a nifty library of things to make doing that easy.
I agree your example really needs a general DOM. But most real program designed to act on information read from an XML file will have data designed for that purpose; e.g. it will be sane and meaningful.
—John
|
|---|