WML vs. XHTML

Steve Baty steve at redsquare.com.au
Fri Nov 5 05:47:47 GMT 1999


One of the early developers of WAP technology - they created an early WAP
gateway and emulator, called, respectively, UP.Link and UP.Phone - came up
with this language for handheld devices. (I apologise now for any inaccuracy
in this information - it has been over 12 mths since I looked at HDML.)

The device worked with a proprietary markup language called Handheld Device
Markup Language (HDML). It is not an XML language, although it is tag based.
I think this was the reason it was overlooked in favour of WML as the
standard for WAP devices.

I have included a snippet of code from their login page - which is shipped
with the emulator as a sample.
==============================
<HDML VERSION=3.0 TTL=0 MARKABLE=FALSE>

    <-- ACTIVITY: Login Activity -->

    <-- All input values must be at least 6 characters or more -->
    <-- Using "m" instead of "M" defaults entry to lowercase   -->

    <ENTRY NAME=home KEY=hostname FORMAT=mmmmmm*m>
   <ACTION TYPE=ACCEPT TASK=GOSUB VARS=host=$(hostname)
  RECEIVE=user;passwd NEXT=#results DEST=#passcard1>
  Host name:
    </ENTRY>

    <DISPLAY NAME=results>
 <ACTION TYPE=ACCEPT TASK=RETURN LABEL=Done>
 <LINE>Accepted:
 <BR>Name=$(user)
 <BR>Pswd=$(passwd)
    </DISPLAY>

    <-- ACTIVITY:  Enter a name and password -->

    <ENTRY NAME=passcard1 KEY=name FORMAT=mmmmmm*m>
 <ACTION TYPE=PREV TASK=GO DEST=#cancelshield>
 <ACTION TYPE=ACCEPT TASK=GO DEST=#passcard2>
 $(host)
 <BR>User Name:
    </ENTRY>

    <ENTRY NAME=passcard2 KEY=password FORMAT=mmmmmm*m NOECHO=TRUE>
 <ACTION TYPE=ACCEPT TASK=GO DEST=#confirmshield>
 $(host)
 <BR>Password:
    </ENTRY>

    <DISPLAY NAME=cancelshield>
 <ACTION TYPE=ACCEPT LABEL=Yes TASK=CANCEL>
 <ACTION TYPE=SOFT1 LABEL=No TASK=GO DEST=#passcard1>
 Cancel login?
    </DISPLAY>

    <DISPLAY NAME=confirmshield>
 <ACTION TYPE=ACCEPT TASK=RETURN LABEL=Yes RETVALS=$(name);$(password)>
 <ACTION TYPE=SOFT1 LABEL=No TASK=PREV>
 Commit login?
    </DISPLAY>

</HDML>
==============================
Cheers

Steve Baty
Technical Designer
Red Square Productions
http://www.redsquare.com.au
steve at redsquare.com.au
Ph: +612 9519 4599
Fax: +612 9519 4699
Member of the HTML Writers Guild
-----Original Message-----
From: Alan Menezes <AlanM at SYNECTICS.Soft.net>
To: Steve Baty <steve at redsquare.com.au>
Cc: xml-dev at ic.ac.uk <xml-dev at ic.ac.uk>
Date: Friday, 05 November 1999 16:02
Subject: RE: WML vs. XHTML


>Hi Steve,
>I have heard of both XHTML and WML and their uses.
>Now can you please elaborate on the HDML that you have mentioned.
>Thanks and Regards,
>Alan



xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo at ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)





More information about the Xml-dev mailing list