Hi Alpe,
No, it is not required.
I spent some time looking at the full smil spec and the subset? used in epub3. If we had a dtd we could load it into lxml and then serializing the lxml tree back to xml would be easier (void tags would remain void, etc), we could validate the input, and any changes made, etc.
Alternatively, we can write a smil specific parser and serializer if needed. I am thinking more long-term here for the best way to support smil in epub3 under Sigil.
Thanks,
KevinH
|