OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: Entities as template placeholders?

[ Lists Home | Date Index | Thread Index ]
  • From: "Peter Stark" <stark@corp.phone.com>
  • To: "Nicolas MONNET" <nico@echange.fr>, <xml-app@sunsite.auc.dk>, <xml-dev@ic.ac.uk>
  • Date: Tue, 6 Jul 1999 08:38:10 -0700

> -----Original Message-----
> From: owner-xml-dev@ic.ac.uk [mailto:owner-xml-dev@ic.ac.uk]On Behalf Of
> Nicolas MONNET
> Sent: Tuesday, July 06, 1999 6:35 AM
> To: xml-app@sunsite.auc.dk; xml-dev@ic.ac.uk
> Subject: Entities as template placeholders?
>
>
>
> (Using Perl+Expat)
>
> I'm writing a temlpate system. Original is XML. Is it legal / sensible to
> use entitites as template place holders? Like, vairable or something.
>
> Example (bogus):
>
> (...)
> <SET NAME="var" VALUE="Great">
> <HTML:IMG SRC="truc.gif" ALT="&var;">
> (..)
>
> The HTML:IMG's ALT parameter will then contain "Great".
>
> What do you guys think?
>

The Wireless Markup Language (WML) has state and variables.

You can pass variables from one document to another, and change variable
values as a response to certain events. One document can be divided up into
smaller documents, cards, (one card corresponds to one screen, or user
interaction) and you can pass variables from one card to another within the
same document. The dollar sign is used for variable names (e.g. $myvar).

WML is used in mobile phones. Variables and state makes it possible to
create applications with minimal over-the-air round-trips.

The latest version is 1.1, specification is available at
http://www.wapforum.org/what/technical.htm

Before WML is sent to the phones, it's often tokenized (compressed into a
binary format) by a proxy. The specification for this binary XML format is
available at http://www.w3.org/1999/06/NOTE-wbxml-19990624


Peter Stark
Phone.com


> Then, is it ok to use a colon in an entity name? I knkow, I should do my
> homework.
>
> --
> Many are called, few are chosen.  Fewer still choose.
>
>
>
>
> xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
> Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on
> CD-ROM/ISBN 981-02-3594-1
> To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
> (un)subscribe xml-dev
> To subscribe to the digests, mailto:majordomo@ic.ac.uk the
> following message;
> subscribe xml-dev-digest
> List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)
>
>


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






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS