Subject: RE: [dssslist] Character entities in DSSSL stylesheet From: "N. Raghavendra" <raghu@xxxxxxxxxxxx> Date: Fri, 2 Jul 2004 18:33:50 +0530 |
At 2004-06-30T07:57:31-04:00, Maltby, David G wrote: > I forgot to ask: Is the ENTITY author declared in your Docbook > document or your DSSSL document? Hi David, Yes, I did. Below is a sample SGML file, and a DSSSL stylesheet. The command I used was openjade -t sgml -d foo.dsl foo.sgml I got "FnameSurname: This is the author." in the HTML output. Cheers, Raghavendra. foo.sgml: -------- <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook V4.2//EN"> <article> <para>This is the author.</para> </article> foo.dsl: ------- <!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [ <!ENTITY docbook.dsl PUBLIC "-//Norman Walsh//DOCUMENT DocBook HTML Stylesheet//EN" CDATA DSSSL> <!ENTITY % ISOnum.ent PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN"> %ISOnum.ent; <!ENTITY author "Fname Surname"> ]> <style-sheet> <style-specification use="docbook"> <style-specification-body> (element (article para) (make element gi: "P" (literal (string-append "&author;:\space;" (data (current-node)))))) </style-specification-body> </style-specification> <external-specification id="docbook" document="docbook.dsl"> </style-sheet> -- N. Raghavendra <raghu@xxxxxxxxxxxx> | See mail headers for contact Harish-Chandra Research Institute | and OpenPGP details.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [dssslist] Character entities i, N. Raghavendra | Thread | Re: [dssslist] Character entities i, N. Raghavendra |
RE: [dssslist] Character entities i, N. Raghavendra | Date | Re: [dssslist] Character entities i, N. Raghavendra |
Month |