Subject: [dssslist] Element "NAME" undefined From: "CN" <cnliou9@xxxxxxxxxxx> Date: Wed, 15 Aug 2007 12:14:36 +0800 |
Hi! I get "openjade:book.sgml:10:22:E: element "NAME" undefined" from openjade: openjade -d stylesheet.dsl -i output-html -t sgml book.sgml -------stylesheet.dsl---------- <!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [ <!ENTITY dbstyle PUBLIC "-//Norman Walsh//DOCUMENT DocBook HTML Stylesheet//EN" CDATA DSSSL> ]> <style-sheet> <style-specification use="docbook"> <style-specification-body> (define *rgb-color-space* (color-space "ISO/IEC 10179:1996//Color-Space Family::Device RGB")) (define my-color (color *rgb-color-space* 1 0 0)) (element name (make sequence color: my-color (process-children) ) ) <![ %output-html; [ (define %section-autolabel% #t) (define %label-preface-sections% #f) (define %generate-legalnotice-link% #t) (define %html-ext% ".html") (define %root-filename% "index") (define %use-id-as-filename% #t) (define %stylesheet% "stylesheet.css") (define %gentext-nav-use-ff% #t) (define %body-attr% '()) ]]> </style-specification-body> </style-specification> <external-specification id="docbook" document="dbstyle"> </style-sheet> ----------book.sgml--------- <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V4.2//EN" []> <book> <title>Learning DocBook</title> <part> <title>My first Part</title> <chapter> <title>Getting Started</title> <para> His name is <name>John</name>. </para> <sect1> <title>My first section</title> <para>Let's start here!</para> </sect1> </chapter> </part> </book> -------------------- Help would be much appreciated! Regards, CN -- http://www.fastmail.fm - And now for something completely different
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Thread | Re: [dssslist] Element "NAME" undef, N. Raghavendra | |
Date | Re: [dssslist] Element "NAME" undef, N. Raghavendra | |
Month |