Fwd: HDML DTD

The following message from Tim Hyland contains a proposed DTD for the
Handheld Device Markup Language.  I offered to copy it to this group
to give the DTD gurus among you a chance to comment on it.  Please
send any comments or suggestions regarding this to Peter King
(king@uplanet.com).  DO NOT SEND YOUR COMMENTS OR SUGGESTIONS ABOUT
HDML TO THE W3C-SGML-WG LIST.

Jon

========================================================================

[Tim Hyland:]

This DTD was written as an experiment of one of engineers wanting to
familiarize himself with SGML.  Beyond that, there have been no
attempts to make it consistent with XML or HDML.  It is a rough, first
pass.  Two areas of questions we have are:

 * HDML's use of variables.  HDML has a model where the user agent
   can dynamically perform in-line variable substitution in both 
   the content (formatted text) as well as the markup (option-values).
   Is there a way to express this that is consistent with XML?

 * XML linking.  Is it possible to describe HDML's linking syntax/
   semantics given the XML linking specification? 

Please copy Peter King (king@uplanet.com) on any replies, questions,
comments.  Peter is responsible for architecture at Unwired Planet.
Thank you again.

-- Tim

Tim Hyland
Product Manager              E-mail:  hyland@uplanet.com
Unwired Planet               Phone:   +1.415.596.5289


--Attached preliminary DTD for HDML--

<!DOCTYPE hdml [

<!ELEMENT hdml	- - (action*, (nodisplay | display | choice | entry)+)>
<!ATTLIST hdml
        version	NMTOKEN	#IMPLIED -- HDML version --
        ttl		NUMBER	#IMPLIED -- time to live in seconds --
        deckseq	NUMBER	#IMPLIED
        accessdomain	CDATA	#IMPLIED
        accesspath	CDATA	#IMPLIED
        public	(true | false)	false
        markable	(true | false)	false
>

<!ELEMENT nodisplay	- - (action*)>
<!ATTLIST nodisplay
        name	NMTOKEN	#IMPLIED -- card name --
        markable	(true | false)	false
>

<!ELEMENT display	- - (action*, text*)>
<!ATTLIST display
        name	NMTOKEN	#IMPLIED -- card name --
        markable	(true | false)	false
>

<!ELEMENT choice	- - (action*, text*, ce*)>
<!ATTLIST choice
        name	NMTOKEN	#IMPLIED -- card name --
        markable	(true | false)	false
		key			NMTOKEN #IMPLIED
		default		NMTOKEN #IMPLIED
		ikey		NMTOKEN #IMPLIED
		idefault	NUMBER	#IMPLIED
>

<!ELEMENT entry		- - (action*, text*)>
<!ATTLIST entry
        name		NMTOKEN	#IMPLIED -- card name --
        markable	(true | false)	false
		key			NMTOKEN #IMPLIED
		default		NMTOKEN #IMPLIED
		method		NMTOKEN #IMPLIED
		noecho		(true | false ) false
>

<!ELEMENT action	- O (#PCDATA)>
<!ATTLIST action
        type	NMTOKEN	#REQUIRED -- action type --
        task	NMTOKEN	go
        dest	CDATA   #IMPLIED -- destination URL --
        vars	CDATA   #IMPLIED
        receive	CDATA   #IMPLIED
        retvals	CDATA   #IMPLIED
        label	CDATA   #IMPLIED -- label --
        next	CDATA   #IMPLIED
		image	CDATA	#IMPLIED
        sendreferer	CDATA   #IMPLIED -- destination URL --
        go		CDATA	#IMPLIED -- depreciated --
>

<!ELEMENT ce		- O (#PCDATA)>
<!ATTLIST ce
		value	CDATA #IMPLIED
        task	NMTOKEN	go
        dest	CDATA   #IMPLIED -- destination URL --
        vars	CDATA   #IMPLIED
        receive	CDATA   #IMPLIED
        retvals	CDATA   #IMPLIED
        next	CDATA   #IMPLIED
        label	CDATA   #IMPLIED -- label --
        sendreferer	CDATA   #IMPLIED -- destination URL --
        go		CDATA	#IMPLIED -- depreciated --
>

<!ELEMENT text		O O (#PCDATA | BR | WRAP | LINE | TAB | IMG)*>
<!ELEMENT BR		O O EMPTY>
<!ELEMENT WRAP		O O EMPTY>
<!ELEMENT LINE		O O EMPTY>
<!ELEMENT TAB		O O EMPTY>
<!ELEMENT img		O - EMPTY>
<!ATTLIST img
		alt		CDATA #IMPLIED
		src		CDATA #IMPLIED
>
]>

Received on Saturday, 21 June 1997 20:09:25 UTC