RE: Entities as 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!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format