Subject: Viewports 'Visible' property vs DSSSL From: geirog@xxxxxxxx Date: Wed, 23 Apr 1997 13:26:50 +0100 Illegal-object: Syntax error in From: address found on the-wall.falch.no:From: Geir Ove Gr\xnmo <geirog@falch.no> ^ ^-illegal special character in phrase \-extraneous tokens in mailbox |
Hello! A sample instance: <Doc> <Title>Document title (I want this in my output)</Title> <Chapter> <Title>Chapter title (I want this in my output)</Title> <Para>No, I don't want this in my output</Para> <Para>No, I don't want this in my output</Para> <Note>No, I don't want this in my output</Note> ... other elements ... <Section> <Title>Section title (I want this in my output)</Title> <Para>No, I don't want this in my output</Para> <Footnote>Yes, I want this in my output</Footnote> <Para>No, I don't want this in my output</Para> ... other elements ... </Section> </Chapter> </Doc> How can I express, in DSSSL, that any subelement of Chapter except a given list of elements (I don't know who they are) should be discarded, independent of what content model the element Chapter has? E.g. I want to discard the content of Chapter and its subelements except for the Title and Footnote elements. Or perhaps there is a way to override an empty-sosofo? If the element Chapter was an empty-sosofo, how could I override this for the elements Title and Footnote. (This would simplify my processing) The reason why I'm asking these questions is that I'm trying to convert Viewport stylesheets to DSSSL specs. In some of the stylesheets the Visible property has been set, e.g. the Chapter style has been set to 'Hide' while Title and Footnote has been set to 'Show'. The rest are inherited. My problem is that I don't know anything about the DTD when I'm processing the Viewport stylesheets. (Sorry about the capricious DSSSL terminology...) Cheers, </Gr0ve> ------------------ Geir Ove Grønmo ------------------ Falch Infotek as, Stanseveien 21, 0902 Oslo, Norway Phone: +47 22 90 27 36 Fax: +47 22 90 25 99 [grove@xxxxxxxx | http://www.falch.no/people/geirog] -------------------------------------------------------
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Something to ponder..., James Clark | Thread | Re: Viewports 'Visible' property vs, Henry S. Thompson |
Re: Jade and hyperdocuments, James Clark | Date | Re: Viewports 'Visible' property vs, Henry S. Thompson |
Month |