RE: [Q] Using comments.

Subject: RE: [Q] Using comments.
From: Sean Hennessy <shennessy@xxxxxxxxxx>
Date: Thu, 27 Aug 1998 09:01:30 -0700
Jun Seong Hak wrote:

|..used a comment in SGML document as follows.
|But, Jade cannot process style file..
|
|<!-- This is SGML Document -->
|<!-- Date : 1998. 8.18 -->
|<!-- Time : 20:28:30 -->
|<!-- Created by : Jun -->
|
|<!DOCTYPE ARTICLE SYSTEM "EFart.dtd" []>
|    --- 


Try placing your document header comments after the DOCTYPE as
I think Jade expects to see the DOCTYPE first?

Here is a sample of the style-sheet header we are using..
NOTE:  we adopted the use of ";;" for simple comments.
NOTE:  and "<!--"  "-->" for blocks comments.

<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style
Sheet//EN" [
<!ENTITY docbook.dsl PUBLIC "-//Norman Walsh//DOCUMENT DocBook Print
Stylesheet//EN" CDATA DSSSL>

<!ENTITY MPAClist.dsl   SYSTEM "MPAClist.dsl">
<!ENTITY MPACtbl.dsl   SYSTEM "MPACtbl.dsl">
<!ENTITY MPACcmn1.dsl   SYSTEM "MPACcmn1.dsl">

]>

<style-sheet>
<style-specification id="sgml2ods-plain" use="docbook">
<style-specification-body>

;; $Id: sgml2odsp.dsl 1.0 1998/05/30 16:00:10 wsh Exp $
;;
;;[implemented]
;;  This notation means the component has been tested.
;;
;;[work in progress]
;;  This notation means the component is untested.
;;
(define %gARTLBEG%	"ARTICLE BEGINNING" )
(define %gARTLEND%	"END OF ARTICLE" );
(define %gNewLine%	"&#RS;&#RE;" )
(define %gX1%       "®X1¯") ; The start of a heading.

;======================================
<!--
;;[implemented]
;; SGML Source Markup
;; 
;; XYWrite Result Markup..
;;
;;®X1¯ARTICLE BEGINNING
;;
;;®X1¯END OF ARTICLE
-->
;======================================
(root
	( make simple-page-sequence
		start-indent: %body-start-indent%
		(literal %gX1%)
		(literal %gARTLBEG%)
			(process-children)
		(literal %gNewLine%)
		(literal %gX1%)
		(literal %gARTLEND%)
	);eomsequence
)


 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread
  • [Q] Using comments.
    • Jun Seong Hak - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id UAA19741Wed, 26 Aug 1998 20:45:57 -0400 (EDT)
      • <Possible follow-ups>
      • Sean Hennessy - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id MAA28529Thu, 27 Aug 1998 12:08:21 -0400 (EDT) <=