cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From oceatoon <t.katelb...@systheo.com>
Subject RE: JXTemplate jx:set ???
Date Mon, 22 Nov 2004 09:19:36 GMT
>> > <jx:macro name="metak">
>> > <jx:parameter name="keys"/>
>> > <meta keys="${keys}">
>> > <jx:evalBody/>
>> > </meta>
>> > </jx:macro>
>> > 
>> > 
>> >> <metak name="keys">
> 
> Watch the syntax: the name of the parameter is "keys", not "name"!
> 
>> >>  <i18n:text key="coco">coco</i18n:text>
>> >>  <i18n:text key="kiki">kiki</i18n:text>
>> >> </metak>
>  
>> my finale meta tag should be
>> <meta keys="coco kiki"/>
> 
> Ah, miscommunication. I never understood that this was the intended use.
Sorry
>> and with the above code, I get this :
>> <meta keys=""/>coco kiki
>  
>> close but not quite???
>> Do you know How I can  put the body into the keys attribute?
> 
> I don't think that, without parsing the body, you can add something to the
> attribute. But if you fill the body, you can create a string of all keys
> processed and pass it onto "keys".
I'm stuck with  this qfsfsgf@w3C.Node Object, if anyone has an idea of how
too manipulate this object, I think he holds the solution. 

Thanks for the help Helma 
Best Regards
Tibor


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message