Subject: Issues with literate programming DSSSL Script From: MARK.WROTH@xxxxxxxxxxx (Wroth, Mark) Date: Thu, 16 Dec 1999 08:08:22 -0800 |
Having gotten myself interested in trying to write a literate programming system in SGML/DSSSL (as a proof of concept and DSSSL learning exercise, possibly eventually leading to a usable tool), I've run into a couple of issues that I'd like to appeal to the collective wisdom of the list to help me address. The "weave" part of the problem is basically an ordinary DSSSL style sheet; I can see some things I don't know how to do, but it all seems within the ordinary tasks DSSSL was designed to handle. The "tangle" side is a bit trickier. My basic approach is to use the SGML backend to make system entities (using the Jade extension "entity" flow object). Now my questions arise. First: is there any way to couple some reasonable SGML and DSSSL to produce a literal "<" in the output SGML entity? Jade appears to want to "quote" (as < IIRC) the character whether I include it as a literal in the document instance or as an entity definition. So far the only though I've had is to define an empty element <lt> or to post-process the output file. Is there some other approach? Second: I need to collect all of the connected scrap definitions. Selecting them as a node-list and then processing the list seems a reasonable approach. However, I can't tell from the specification if I can guarantee that order is preserved when I select the nodes (i.e. that the selected node-list will have the nodes in the same order as they occur in the document instance). Is this in fact guaranteed? DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Preserve Entites while Transfor, Holger Klawitter | Thread | Re: Issues with literate programmin, David Carlisle |
RE: support for 'macro' formatting , Pieter Rijken | Date | Re: Issues with literate programmin, David Carlisle |
Month |