DTD parser?

Andy Armstrong andy at hexten.net
Fri Jun 1 20:32:22 BST 2007


On 1 Jun 2007, at 19:48, Nic Gibson wrote:
> There's another flag[1] to nsgmls to tell it that you are dealing  
> with xml not sgml if that's the case.
> That's only going to check that the dtd is valid of course. What  
> did you actually mean by 'parse'?

I'd like to create a bunch of data structures that for each (X)HTML  
version describe which tags are valid, which deprecated and the  
attributes that each require / allow.

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.

-- 
Andy Armstrong, hexten.net



More information about the london.pm mailing list