in reply to Re^6: aXML vs TT2
in thread aXML vs TT2
It doesn't work because it can't be used in practice. It renders all "d" inert, not just the ones that aren't aXml directives. It can't be used with your very own example, for one. db_select and d doesn't work in the following:
<inc title="User Info">header</inc> <no_parse> <table border=0 width="100%"> <tr> <th>User ID</th> <th>Name</th> <th>Email</th> </tr> <db_select> <query> SELECT * FROM user ORDER BY id </query> <mask> <tr> <td><d>id</d></td> <td>[hlink action="user_profile" user_id="<d>id</d>"]<d>name</d> +[/hlink]</td> <td><d>email</d></td> </tr> </mask> </db_select> </table> </no_parse> <inc>footer</inc>
About the tags, your right giving both standards would be confusing (and processor costly) so I'm only going to be supporting the regular tag types on my version. If anyone using it wants to change it to do both that's entirely upto them.
What are you talking about? I'm talking about using an attribute instead of a text node for inc, but you keep using plural... Wait, are you saying that aXml requires you to write
instead of<foo bar="moo"></foo>
<foo bar="moo"/>
wtf! And because you think it would be less costly to process a whole additional tag? double wtf!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: aXML vs TT2
by Logicus (Initiate) on Oct 22, 2011 at 03:48 UTC | |
by ikegami (Patriarch) on Oct 22, 2011 at 04:58 UTC | |
by jdporter (Paladin) on Oct 22, 2011 at 20:20 UTC | |
by chromatic (Archbishop) on Oct 23, 2011 at 00:39 UTC | |
by ikegami (Patriarch) on Oct 23, 2011 at 05:48 UTC | |
by Logicus (Initiate) on Oct 22, 2011 at 06:05 UTC | |
by ikegami (Patriarch) on Oct 22, 2011 at 07:12 UTC | |
by Logicus (Initiate) on Oct 22, 2011 at 07:50 UTC | |
| |
by Corion (Patriarch) on Oct 22, 2011 at 19:21 UTC | |
by ikegami (Patriarch) on Oct 22, 2011 at 20:20 UTC | |
| |
by Logicus (Initiate) on Oct 22, 2011 at 23:33 UTC | |
|