[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]
Re: [wml] [LONG][WML] Mp4h parsing: summary
- From: Tobias Oetiker <nospam@thanx>
- Date: Sat, 3 Jun 2000 01:42:27 +0200 (MET DST)
*> C) Suggestions
*> ==============
*>
*> 2. Complex HTML tag
*> Parser reads attributes and body.
*>
*> 3. Simple HTML tag
*> Parser reads attributes. To let mp4h know this tag is simple,
*> it must conform to xhtml standard and contain a trailing slash.
*>
*> 4. Embedded HTML tag
*> When this is an HTML complex tag but appear as a simple tag, e.g.
*> <navbar:header><table><tr></navbar:header>
*> a trailing star marks this tag as a non parsable complex HTML tag
*> <navbar:header><table*><tr*></navbar:header>
*> When it is simple, there is no problem because of the trailing slash
*> <navbar:epilog><br /></navbar:epilog>
note that there are still some browsers which will not like <br/>
so one might want to writ <br*> as the * will get removed in later
wml processing where as the <br/> will remain unchanged
*> When this tag cannot be parsed, it must be protected with a
*> leading star, which will make it fall into category 6.
*> document.write('<*img src="foo.png" alt="');
*> document.write(text+'">');
here you protect the opeing < into not being interpreted as part of
a tag, but if the whole combination happens inside another tag how
do you protect the inner >
eg
<de: document.write('<*img src="foo.png" alt="');
document.write(text+'">');
> ^
|
apart from that I like it ...
cheers
tobi
--
______ __ _
/_ __/_ / / (_) Oetiker, Timelord & SysMgr @ EE-Dept ETH-Zurich
/ // _ \/ _ \/ / TEL: +41(0)1-6325286 FAX:...1517 ICQ: 10419518
/_/ \.__/_.__/_/ oetiker@ee.ethz.ch http://ee-staff.ethz.ch/~oetiker
______________________________________________________________________
Website META Language (WML) www.engelschall.com/sw/wml/
Official Support Mailing List sw-wml@engelschall.com
Automated List Manager majordomo@engelschall.com