Vincent Stoessel wrote:

> It looks like your talking about more of an xml syntax.
> I've been thinking about this too. Would not XML (or MidXml we could
> call it ) be the next step in the page/style elements paradinm?
> so instead of
>
> <[article-list]>
>
> we would have
>
>
>   <article-list sort=alpha/>

I'm all for it, but parsing it would be less than trivial. We can't use
expat, because PHP is not XML-safe, for example:

<?php echo "houdoe"; // ?>
?>

is valid PHP but not well-formed XML. And for something like

<input type="checkbox" name="x" <?php if ($x) { echo " checked"; } ?>>

I wouldn't even know how to make XML compliant at all.

But if we can find a proper way around this (_with_ a good migration
path), I am all ears. It looks good, it would probably perform better
(since we now do all kind of trickery to recognize what is PHP so we
don't touch it), and it'd offer interesting extension possibilities. But
I don't think it will be easy at all, and unless someone comes up with a
good approach and some time on his/her hands, I don't see this happening
short-term.

Emile



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to