Subject: RE: processing-instruction? From: "Reynolds, Gregg" <greynolds@xxxxxxxxxxxxxx> Date: Fri, 6 Mar 1998 16:45:30 -0600 |
Maybe the data function? Get the title node into a variable nl, then (data nl) returns its contents. Section 10.2.3, p. 138 of the DSSSL std. > -----Original Message----- > From: ssb@xxxxxxxxxxx [SMTP:ssb@xxxxxxxxxxx] > Sent: Friday, March 06, 1998 4:28 PM > To: dssslist@xxxxxxxxxxxxxxxx > Subject: processing-instruction? > > I am trying to customize the modular docbook stylesheets to produce > HTML with embedded PHP3 code, which is done with <?php ?> processing > instructions. > > I am trying to replace the document header with the following: > > <?php > require("shared-manual.inc"); > manualHeader("Section Heading"); > ?> > > However, since processing-instruction is an atomic flow object, I > can't use the sosofo containing the "Section Heading" data when > creating the processing instruction. The PI wants a string for its > data. So I need some way of converting the "title" sosofo to a > string. Is that possible? > > - Stig > > -- > Stig S. Bakken Guardian Networks AS > mailto:ssb@xxxxxxxxxxx Trondheim, Norway > http://www.pvv.org/~ssb/ http://www.guardian.no/ > > > DSSSList info and archive: > http://www.mulberrytech.com/dsssl/dssslist DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: processing-instruction?, Paul Prescod | Thread | Using sect1 title in the heading, Christian Leutloff |
Re: processing-instruction?, Chris Maden | Date | Using sect1 title in the heading, Christian Leutloff |
Month |