Subject: passing arguments: (element a) -> (element b) From: Markus Reinsch <mreinsch@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> Date: Mon, 23 Feb 1998 14:27:45 +0100 (MET) |
I am looking for a method to pass arguments from one element-construction-rule to his child element-construction-rules. Imagine a SGML-Document like this: <!element a (b,c)> <!element (b,c) (#PCDATA)> <a> <b>Some Text</b> <c>More Text</c> </a> The (element a) construction-rule can influence the child-elements by using modes: (element a if (with-mode x ...) else (with-mode y ...)) The problem is, that a mode-construction-rule-group doesn't accept arguments. (with-mode (MODENAME ARGUMENTS) ...). Now I am using "n-modes": (very ugly) (element a if 1 (with-mode x1 ...) if 2 (with-mode x2 ...) if 3 (with-mode x3 ...)) Do YOU know any solution? _______________________________________________________________________________ Markus Reinsch email: mreinsch@xxxxxxxxxxxxxxxxxxxxxxxx _______________________________________________________________________________ DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Java pretty printing in/with Do, David Megginson | Thread | Re: passing arguments: (element a) , Richard Light |
Re: Java pretty printing in/with Do, David Megginson | Date | Re: Java pretty printing in/with Do, Gavin Nicol |
Month |