http://www.perlmonks.org?node_id=584665


in reply to Parsing an XML-like definition of an XML-like language to create a parser of the actual data in that language.

As has been noted, the DTD is not really important for trying to parse the input file. You might want to look at XML::Simple as the easiest way to turn that XML structure into a perl data hash.


The intelligent reader will judge for himself. Without examining the facts fully and fairly, there is no way of knowing whether vox populi is really vox dei, or merely vox asinorum. — Cyrus H. Gordon
  • Comment on Re: Parsing an XML-like definition of an XML-like language to create a parser of the actual data in that language.

Replies are listed 'Best First'.
Re^2: Parsing an XML-like definition of an XML-like language to create a parser of the actual data in that language.
by Moron (Curate) on Nov 20, 2006 at 11:39 UTC
    Thanks and yes I´m tempted enough by this argument because it avoids the potential bug in the DTD and might just have the simplicity to overlook the vendor-reported bug in the XML itself, so I´ll give it an early whirl.

    -M

    Free your mind