On Tue, Oct 26, 2010 at 8:01 AM, Eli Barzilay <e...@barzilay.org> wrote: > 20 minutes ago, Jay McCarthy wrote: >> Can you do scribble/xml and if you want the XHTML specific stuff >> use/require scribble/xhtml? > > Well, it's kind of raw in the sense of being able to support xml if > you provide all the bindings you need to use -- and I didn't want to > grab another point in the `scribble/*' namespace unless it's needed. > So I'll do that if/when it becomes useful elsewhere. (It will be > pretty easy to move that part when that happens.) > > But if you said the above because you have some use for it now, then > I'll be happy to do that.
I do not. > > BTW, that functionality in itself is not really something that is > related to scribble -- so perhaps a better place for it would be > something like `xml/functional'? (Because you use it by defining > functions that create element values, rather than the traditional > translations from sexpr formats.) Something like that would be nice. > > >> If not, then I'd suggest just plain scribble/xhtml. You aren't >> really making HTML as far as I know, so don't call it that. > > OK, I changed it -- but here are some of the points that made me think > that `html' is the right choice: > > * We already have an `html' collection -- and if you'd want to produce > xhtml from it, then the reasonable thing to do would be to add some > parameter that determines the output format. Same goes for the > existing `scribble/html-*' modules if scribble is updated to produce > xhtml. > > * Related -- if this ends up as some `xhtml' collection, people will > get the idea that both it and `html' are the same thing with > different output formats rather than being something completely > different. These are compelling. > > * The `xhtml' is only a kind of a meta label -- the DTD, DOCID, etc > are all still called "HTML". This is not, to me. > > In any case, I already did the rename (to `scribble/xhtml') so tell me > only if you think that the above points make sense and I'll undo that > rename. (I don't have a strong opinion about it, and certainly much > less than yours.) My opinion is much less strong than it was before, so follow your whims. Jay > > -- > ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: > http://barzilay.org/ Maze is Life! > -- Jay McCarthy <j...@cs.byu.edu> Assistant Professor / Brigham Young University http://teammccarthy.org/jay "The glory of God is Intelligence" - D&C 93 _________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev