[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Entities as template placeholders?

  • From: "Peter Stark" <stark@c...>
  • To: "Nicolas MONNET" <nico@e...>, <xml-app@s...>, <xml-dev@i...>
  • Date: Tue, 6 Jul 1999 08:38:10 -0700

template placeholders
> -----Original Message-----
> From: owner-xml-dev@i... [mailto:owner-xml-dev@i...]On Behalf Of
> Nicolas MONNET
> Sent: Tuesday, July 06, 1999 6:35 AM
> To: xml-app@s...; xml-dev@i...
> 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@i...
> 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@i... the following message;
> (un)subscribe xml-dev
> To subscribe to the digests, mailto:majordomo@i... the
> following message;
> subscribe xml-dev-digest
> List coordinator, Henry Rzepa (mailto:rzepa@i...)
>
>


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
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@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)



PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2011 All Rights Reserved.