Re: new class XML_CSSML

From: Date: Sat, 27 Apr 2002 11:38:07 +0000
Subject: Re: new class XML_CSSML
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-5830@lists.php.net to get a copy of this message
> first, I don't like Firstletter-Upercase element-names (but as said, it's > just my personal opinion). I am 100% willing to change the case of the tags...what do you like, all lowercase? I think CSSML should remain uppercase since it is all an acronym, but like Style|Declaration|Property could be become lowercase if that works for you. > second, why not using namespaces? (that's not so important, but could > prevent some clashes in the future..) so it would look like? <CSSML> <cssml:style> <cssml:selector>p</cssml:selector> <cssml:declaration property="color">red</cssml:declaration> </cssml:style> </CSSML> > mmh. i would prefer a more xsl-stylish approach Well, it does use xsl, but the setup in the xml file is abstracted from xsl, so it carries a string filter which is interpreted in the backend xsl script using an xsl:if statement. My choice for doing the filtering fits best with libxslt and it allows for the fasted processing of the xsl stylesheet, which I have tested extensively for speed. Dan

« previous php.pear.dev (#5830) next »