cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Quinn <je...@media.demon.co.uk>
Subject planning FP TagLib for C2
Date Sat, 09 Sep 2000 13:04:06 GMT
Dear All,

I have been slowly working on the FP TagLib, mostly on the DOM manipulation
side, and then, only on the weekends :)

I would like what I am doing for C1 to be forward compatible with C2.

As I understand the situation ....

I must not pass xspCurrentNode, document, or contentHandler to my methods.
Any manipulation of parent elements must be done using XSL in my logicsheet.
My methods should return XObjects.


I think this is all possible for this TagLib but it will require quite
large changes to the DTD. Should I restart this as a new TagLib or expect
people who may have started using it to adapt?


Also, what is the preferred pattern for TagLib parameters now?

C1 and C2 both use this form:

		<fp:read as"node" from="blah" />
	or
		<fp:read>
			<fp:as>node</fp:as>
			<fp:from>blah</fp:to>
		</fp:read>

C2 has introduced this new form (and a very handy template to extract it):

		<fp:read as"node" from="blah" />
	or
		<fp:read>
			<fp:param name="as">node</fp:param>
			<fp:param name="from">blah</fp:param>
		</fp:read>


Which of these is the best to use?


thanks for any help

regards Jeremy
-- 
   ___________________________________________________________________

   Jeremy Quinn                                           Karma Divers
                                                       webSpace Design
                                            HyperMedia Research Centre

   <mailto:sharkbait@mac.com>     		 <http://www.media.demon.co.uk>
    <phone:+44.[0].20.7737.6831>        <pager:jermq@sms.genie.co.uk>

Mime
View raw message