EPUB Documentation

Borden 2013 at bordenrhodes.com
Wed May 15 11:08:13 PDT 2013


On Wednesday, 15 May 2013 at 10:39:41 UTC, Russel Winder wrote:
> It might be worth noting here that SAX and DOM have not been
> distinguished so far in the thread.  I would have thought SAX 
> would be really easy in D.
Indeed. My original question is specfic to XML document 
generation in D code, not necessarily reading (although any 
half-decent DOM library needs to be able to read files as well as 
write them). I'm not very familiar with SAX, but Wikipedia says 
that it's not standardised and so, if I understand correctly, 
there would be varying implementations of it.

> Although it might be nice to have D implementations, perhaps D 
> might
> follow Python and wrap a rather good system so as to get 
> something with
> full validation and XPath sooner rather than later?

I think that this is a better approach to take. Surely Windows 
has an XML library and that would have to be done is write a 
single header file that would link to the XML library on the 
operating system? I know, probably far more difficult to 
implement than it sounds...


More information about the Digitalmars-d mailing list