|
Subject: dsssl, mode and with-mode From: Jon Haugsand <Jon.Haugsand@xxxxx> Date: 22 Jan 1999 11:39:16 +0100 |
I am still a newbie and hope some of you can take the trouble to
answer some of my naive questions.
What is really a grove? Is it a parsed SGML document?
What is really a sosofo (in the "make entity"/"jade -t sgml" context)?
Is it a tree structure of the html output to be inserted at the
current point?
What exactly does the "with-mode" construction?
Here is a part of my sgml and dsssl spec:
<section>
<title>Om pliktene</title>
...
</section>
(element section
(make sequence
(with-mode extract-title-text
(process-matching-children "TITLE"))
(process-children)))
(mode extract-title-text
(element (TITLE)
(process-children)))
What other choices do I have than "process-matching-children"? What do
those choices mean?
It seems that the word "TITLE" is present two places. Why? What
happens if I name some other tag in the "with-mode" construction? In
the "mode" construction?
Thanks,
--
Jon Haugsand
Norwegian Computing Center, <http://www.nr.no/engelsk/>
<mailto:haugsand@xxxxx> Pho: +47 22852608 / +47 22852500,
Fax: +47 22697660, Pb 114 Blindern, N-0314 OSLO, Norway
--LAA24974.917001559/procyon.nr.no--
DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| counting items, mok | Thread | Re: dsssl, mode and with-mode, David Carlisle |
| counting items, mok | Date | Re: dsssl, mode and with-mode, David Carlisle |
| Month |