W3C home > Mailing lists > Public > www-smil@w3.org > October to December 2000

Re: inline text

From: J.R. van Ossenbruggen <Jacco.van.Ossenbruggen@cwi.nl>
Date: Wed, 15 Nov 2000 18:02:06 +0100
Message-Id: <200011151702.SAA31868@mast.cwi.nl>
To: "Brad Spry" <brad@liketelevision.com>, www-smil@w3.org
On Wed, Nov 15 2000 "thierry michel" wrote:

> > You have implemented the ability to use IMG and A HREF tags inline, but
> > as far as I know, you cannot use text inline.
> >
> > I would like to eliminate files altogether and generate SMIL on the fly
> > out of a database... but because text cannot be used inline, only out of
> > external files referenced by a URI, I cannot accomplish my goal.
> >
> > It is ridiculous that text cannot be used inline!

Hi Brad,

It is a) not ridiculous and b) not entirely true.

a) Text is not inlined in SMIL for a good reason: to keep the SMIL
specification independent of the text markup.  In this way, we do not
need to specify what type of text (html, xhtml, mathml, plain text,
...)  you should use in your documents or should implement in your
SMIL application.

b) You can escape this rule by encoding the text in the URI of the
text element:

   <text src="data:...properlyUriEscapedTextGoesHere..." />

See the URI data scheme spec at http://www.ietf.org/rfc/rfc2397.txt
for details.  Not sure what SMIL players support this.

Hope this helps,

-- Jacco 
Received on Wednesday, 15 November 2000 12:02:09 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:46:57 UTC