|
Subject: Re: The DSSSList Digest V2 #34 From: Ralph Ferris <ralph@xxxxxxxxxxxxxxx> Date: Mon, 04 May 1998 14:52:28 -0400 |
>
>Date: Mon, 4 May 1998 10:35:18 +0800
>From: WaiSun Chia <WaiSun.Chia@xxxxxxxxxxx>
>Subject: RE: DAVENPORT: Newbie DSSSL Question
>
>Norm,
>You misunderstood me...
>What I meant was using DSSSL (and not SGML) to include a graphic
>(whether inline or otherwise..)..
>I think its something like (make external-graphic ... but I don't really
>know the structure nor syntax...examples would be great!
>
>Wai-Sun
>
For the declarations:
<!DOCTYPE document SYSTEM "document.dtd"
[
<!NOTATION BMP PUBLIC "+//ISBN 0-7923-9432-1::Graphic Notation//NOTATION
Microsoft Windows Bitmap//EN">
<!ENTITY object SYSTEM "object-1.bmp" NDATA BMP>
<?stylesheet href="document.dsl" type="text/dsssl">
<!ELEMENT Graphic - o EMPTY >
<!ATTLIST Graphic
content ENTITY #REQUIRED >
]>
and the markup:
<Graphic content="object">
these stylesheet entries will work in Jade:
(element graphic
(make external-graphic
display?: #t ; display the image
scale: 1 ;;'max-uniform
display-alignment: 'center
entity-system-id: (entity-generated-system-id (attribute-string
"CONTENT"))
space-before: ParSpacing ; define as needed
space-after: ParSpacing ; define as needed
))
Notice that this raises the issue of keeping the style sheet declarations
in sync with the DTD declarations, i.e., the "content" attribute must be
declared as having an entity value in both places. At this point, what the
"policy" is if the declarations don't match has not, to my knowledge, been
addressed.
Ralph E. Ferris
Fujitsu Software Corporation
DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| OLE via Jade's RTF backend, WaiSun Chia | Thread | links with JADE RTF, Michael Schopen |
| OLE via Jade's RTF backend, WaiSun Chia | Date | links with JADE RTF, Michael Schopen |
| Month |