Re: inline text

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