[plt-scheme] DTD

From: John Clements (clements at brinckerhoff.org)
Date: Mon Mar 12 23:32:23 EDT 2007

On Mar 12, 2007, at 6:59 PM, Sam TH wrote:

> This isn't for xml.ss, but it appears that Oleg's SSAX [1] handles  
> DTDs.
> sam th
> [1] http://okmij.org/ftp/Scheme/xml.html

To add to this very slightly:  the docs for the SSAX planet package  
seem to suggest that there's something that might parse DTDs included  
with the package:


Additional tools included into the package

1. "access-remote.ss"
Uniform access to local and remote resources
Resolution for relative URIs in accordance with RFC 2396

2. "id.ss"
Creation and manipulation of the ID-index for a faster access to SXML  
by their unique ID
Provides the DTD parser for extracting ID attribute declarations

3. "xlink-parser.ss"
Parser for XML documents that contain XLink elements

4. "multi-parser.ss"
SSAX multi parser: combines several specialized parsers into one
Provides creation of parent pointers to SXML document constructed

... and converting between SXML and Xexprs is easy for the easy cases  
(stay away from entities, namespaces, etc.)

Oh, and SSAX finally comes with an SXML -> XML renderer, thank heavens.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2484 bytes
Desc: not available
URL: <http://lists.racket-lang.org/users/archive/attachments/20070312/fdc40fb2/attachment.p7s>

Posted on the users mailing list.