Subject: External file for read datas From: miguel.mata@xxxxxxxxxx Date: Fri, 28 Aug 1998 12:42:14 +0200 |
I have a SGML file to translate to a HTML file. In the SGML file there is a name of a catalog file with a picture file name. I want to get this picture file name and put into the HTML file. ------ The DTD file: <!ELEMENT PICTURE - O EMPTY > <!ENTITY % GFX SYSTEM "cat.cat"> ------ The SGML file: <!doctype PICTURE SYSTEM "dtd.DTD"> <PICTURE PICTURE="pic"> ------ The catalog file: <!ENTITY pic SYSTEM "pic.jpg" NDATA GFX> ------ The DSSSL file for translate SGML to HTML (of course is very wrong): <!doctype style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN"> (declare-flow-object-class element "UNREGISTERED::James Clark//Flow Object Class::element") (declare-flow-object-class formatting-instruction "UNREGISTERED::James Clark//Flow Object Class::formatting-instruction") (root (make sequence (make element gi: "HTML" (make element gi: "HEAD" (make element gi: "META" attributes: (list (list "HTTP-EQUIV" "Content-type") (list "CONTENT" "text/html; charset=windows-1252"))) ;Closed META (make element gi: "TITLE" (make formatting-instruction data: "PICTURE"))) ;Closed HEAD ) ;Closed HTML )) (element PICTURE (make element gi: "IMG" attributes: (list (list "SRC" (process-element-with-id (attribute-string "PICTURE")))))) ************************************************** Miguel Domingo Mata Bueno STAR GmbH, Software Translation Artwork Recording Westendstrasse 1 Öhningen D-78337 Deutschland Tlf: 0049 7735 939801 E-mail: mailto:miguel.mata@xxxxxxxxxx STAR WWW Home Page http://www.star-ag.ch ************************************************** DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: XSL support in Jade, James Tauber | Thread | Hacking (make element) in the DocBo, Norman Walsh |
Re: XSL support in Jade, Henry S. Thompson | Date | Re: Docbook/style sheet bug & tex b, Norman Walsh |
Month |