RE: graphics

Subject: RE: graphics
From: Avi Kivity <Avi@xxxxxxxxxxxxx>
Date: Wed, 10 Feb 1999 16:11:18 +0200
On Wednesday, February 10, 1999 14:48, Pawson, David
[SMTP:DPawson@xxxxxxxxxxx] wrote:
> Help please.
> I want to include a simple graphic, not present in the XML source
> file, 
> sourced from the stylesheet.
> 
> 
> I'm trying the following
> <!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style
> Sheet//EN" [
> <!NOTATION bmp   SYSTEM>
> <!ENTITY daisy   SYSTEM "daisy.bmp" NDATA bmp  >
> ]>
> 
> 
> (make external-graphic
> 			     space-before: 2.5in
> 			     entity-system-id: &daisy;
> 			     display?: #t
> 			     display-alignment: 'start
> 			   (process-children)))))
> 
> Jade complains
> 
> x.dsl:227:8:E: invalid value for "entity-system-id" characteristic
> x.dsl:224:7:E: content expression cannot be specified in make
> expression for
> atomic flow object class "external-graphic"
> E: could not convert system identifier "" to a single filename
> 
> The standard tells me:
> 
> entity-system-id: is a string specifying the system identifier of
> the entity

entity-system-id: is a string, not an entity.

You should simply
> (make external-graphic
> 			     space-before: 2.5in
 			     entity-system-id: "daisy.bmp"
> 			     display?: #t
> 			     display-alignment: 'start
> 			   (process-children)))))


> containing the external graphic or #f if the entity has no system
> identifier.  This characteristic is not inherited and shall be
> specified. 
> 
> Can anyone tell me where I am going wrong please?
> 
HTH, Avi


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


Current Thread
  • graphics
    • Pawson, David - Wed, 10 Feb 1999 09:07:34 -0500 (EST)
      • <Possible follow-ups>
      • Avi Kivity - Wed, 10 Feb 1999 09:27:20 -0500 (EST) <=