This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: docbook cosmetics


> From: "G.L. Grobe" <gary@grobe.net>
> 
> I've put the following line in my *.sgm docbook file (tried in several
> places):
> <xsl:param name="html.stylesheet">mybook.css</xsl:param>
> 
> But when I run 'db2html my.sgm' ... I get stuff like:
> 
> jade:../acais.sgm:9:4:E: character ":" not allowed in attribute
> specification list
> jade:../acais.sgm:9:4:E: element "XSL" undefined
> jade:../acais.sgm:9:48:E: character ":" not allowed in end tag
> 
> Any ideas?

Well, I see three problems:

1.  You are trying to use an
XSL instruction in a processing tool that is
using DSSSL.   You want the equivalent
DSSSL instruction, but I don't know DSSSL
well enough to tell you what it is.

2. The XSL stylesheets are meant
to process XML files, not SGML.

3. You can't put stylesheet instructions in
your document, they have to go into a
customization file for the stylesheet.

I would suggest you take some time to read about
customizing the DSSSL stylesheets by reading section 4.3.8
in Norm Walsh's DocBook: The Definitive Guide at
http://www.docbook.org/tdg/en/html/docbook.html.  ~

bobs
Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
Caldera International, Inc.                 fax:   (831) 429-1887
                                            email: bobs@caldera.com

----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]