Help about address keyword

Subject: Help about address keyword
From: "Didier PH Martin" <martind@xxxxxxxxxxxxx>
Date: Tue, 23 Mar 1999 21:58:00 -0500
Hi,

James implemented for the HTML back end two kind of address:
1) idref-address
2) Current-node-address

I want to add these following address keyword but need some clarifications
on the spec first. The keywords I want to implement are:
1) hytime-linkend
2) entity-address
3) sgml-document-address

Let take one at a time :-) First the "entity-address" keyword. There is only
a small sentence about it in the specs. I need some feedback to be sure I
understood it well.

I understood that the address should be resolved on a declared entity. So if
I have the following doctype:
<?xml version="1.0"?>
<!DOCTYPE breakfast-menu [
<!ELEMENT breakfast-menu (food|reference)+>
<!ELEMENT food (name|price|description|calories)*>
<!ELEMENT name (#PCDATA)>
<!ELEMENT price (#PCDATA)>
<!ELEMENT description (#PCDATA)>
<!ELEMENT calories (#PCDATA)>
<!ELEMENT reference (#PCDATA)>
<!ATTLIST reference href CDATA  #IMPLIED>
<!ENTITY Netfolder SYSTEM "http://www.netfolder.com";>
]>

then if I have the following script:

(element reference
  (make paragraph
      space-before:	  23pt
      (make link
           destination: ( entity-address  "netfolder")
           (process-children))))

The address should be resolved on this entity which is:
http://www.netfolder.com

Did I made the right interpretation?

Many thanks for your help
Regards
Didier PH Martin
mailto:martind@xxxxxxxxxxxxx
http://www.netfolder.com


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


Current Thread