Accessing command-line params from stylesheet

Subject: Accessing command-line params from stylesheet
From: Chris Maden <crism@xxxxxxx>
Date: Tue, 16 Sep 1997 16:20:09 -0400
I think the answer is no, but here goes:

I have an SGML document that is an entire book.  I'd like to process
just one chapter, but I need to resolve cross-references into other
chapters.

I can make a stylesheet that does (process-element-with-id) for the
root construction rule, but that means I need a stylesheet for every
chapter.  I don't want the production crew here to have to edit a
stylesheet every time they re-page-break a chapter, nor do I want to
maintain a stylesheet for every chapter of every book.[*]

Is there any way to tell Jade to parse document X, but only format
element Y?  I can't find it in the docs.

Thanks in advance,
Chris

[*] Yes, I've modularized this; each file would have nothing but a
style-spec and an external-spec, but that's still a lot of files
kicking around.
-- 
<!NOTATION SGML.Geek PUBLIC "-//Anonymous//NOTATION SGML Geek//EN">
<!ENTITY crism PUBLIC "-//O'Reilly//NONSGML Christopher R. Maden//EN"
"<URL>http://www.oreilly.com/people/staff/crism/ <TEL>+1.617.499.7487
<USMAIL>90 Sherman Street, Cambridge, MA 02140 USA" NDATA SGML.Geek>

 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread