[dssslist] Element "NAME" undefined

Subject: [dssslist] Element "NAME" undefined
From: "CN" <cnliou9@xxxxxxxxxxx>
Date: Wed, 15 Aug 2007 12:14:36 +0800

I get "openjade:book.sgml:10:22:E: element "NAME" undefined" from

openjade -d stylesheet.dsl -i output-html -t sgml book.sgml

<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN"
<!ENTITY dbstyle PUBLIC "-//Norman Walsh//DOCUMENT DocBook HTML
Stylesheet//EN" CDATA DSSSL>

 <style-specification use="docbook">

(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

<![ %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%             '())


 <external-specification id="docbook" document="dbstyle">

<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V4.2//EN" []>

<title>Learning DocBook</title>
  <title>My first Part</title>
    <title>Getting Started</title>
     His name is <name>John</name>.
     <title>My first section</title>
     <para>Let's start here!</para>

Help would be much appreciated!



http://www.fastmail.fm - And now for something completely different

Current Thread