Well, actually, that's what I'm thinking about avoiding. :) This isn't anything against XML; I'm pretty familiar with it. (I actually keep my resume in an XML document and have three XSLT sheets and a Makefile that output it in HTML, RTF and plain text.) Textpattern's templates are XML, too--basically, they're XHTML documents, with Textpattern-specific markup as tags in the txp: namespace (so <txp:article_list limit="5" /> might display the five most recent articles). It's an elegant system, producing templates which are not only readable but which any XML-aware editor does The Right Thing with.
I suppose I'm considering how to do something that's as markup-free as possible, mostly to see if anything new can be learned by doing a bit of trailblazing. Sometimes you find great things that other people didn't think of because they're all following in each other's footsteps, and sometimes you find that there's a good reason everyone is doing things the same way. (My quests for great word processors show both of those--some word processors do a few things differently than Microsoft Word and really innovate, and some do things differently than Word and make things unnecessarily complex and inflexible.)
no subject
Date: 2005-02-05 01:20 (UTC)txp:namespace (so<txp:article_list limit="5" />might display the five most recent articles). It's an elegant system, producing templates which are not only readable but which any XML-aware editor does The Right Thing with.I suppose I'm considering how to do something that's as markup-free as possible, mostly to see if anything new can be learned by doing a bit of trailblazing. Sometimes you find great things that other people didn't think of because they're all following in each other's footsteps, and sometimes you find that there's a good reason everyone is doing things the same way. (My quests for great word processors show both of those--some word processors do a few things differently than Microsoft Word and really innovate, and some do things differently than Word and make things unnecessarily complex and inflexible.)