DTD parser?

Andy Armstrong andy at hexten.net
Fri Jun 1 21:18:44 BST 2007


On 1 Jun 2007, at 21:01, Nic Gibson wrote:
>> The overall aim is to build HTML::Tiny::Strict as a validating  
>> version of HTML::Tiny. I'd like to generate the data automatically  
>> from the DTDs.
>
> Off the top of my head, I wonder if Norm Walsh's dtdparse might  
> help - http://nwalsh.com/perl/dtdparse/

I think that's what SGML::DTDParse is - which /does/ parse the DTD  
properly. So yes. Now I just have to parse the XML it generates :)

-- 
Andy Armstrong, hexten.net



More information about the london.pm mailing list