Adam van den Hoven wrote:
EEEWWW NOO!
Please don't do this. If you are going to use an XML paradigm for your
DSL then stick to it. There is nothing that makes my skin crawl more
than seeing tags as attribute values.
Aside from pure aesthetics (which is considerable), there is the
matter of tooling. I can find extensible WYSIWYG XML widgets (they're
not as common or as cheap as I'd like) and none of them will never be
able to handle this (IMHO, extending XML widgets may be better in the
long term than wrapping textile or what have you). And and you'll
never be able to debug it.
I hate that we do this now for HTML attribute values, lets not pollute
the paradigm more. Otherwise rolling something into HAML would be
better (I'm guessing)
YAY! Someone who agrees with me!
The caveat, of course, is that often you need to put Radius tags inside
the attributes of HTML tags. But that's because Radius is not strict
XML, but interpolated. When explaining Radius to a local web design
meetup, one sorta-technical guy suggested we use an XML parser/XSLT and
I had to tell him no. It only looks like it could be.
Sean
_______________________________________________
Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant