| Wednesday 10 May 2006 9:42:47 am 
                                                                
                                                                 Hi all, washing day today for me ;) I want to use the content of an xmltext field to populate an input field.  eg <input type="hidden" value=" Things that come from a xml field"> I did try to use the (undocumented) wash(javascript) like that: 
<input type="hidden"
  name="powercontent_intro_ContentObjectAttribute_data_text_pcattributeid"
  value='{$node.object.data_map.intro.content.output.output_text|wash(javascript)}' />
At least it solves the " let's go" problem (ie it doesn't stop the input value after the ' . However, it does replace the " by a \047 that isn't what is expected. Are you aware of a wash thing that I could use for that ? On a related problem: how do you use the xmlfield to populate a title tag ? 
eg <a href="{$node.url_alias}" title='{$node.object.data_map.intro.content.output.output_text|strip_tags|wash(javascript)}' />
 The result is not that good either. Many thanks for your inputs and suggestions. X+ http://www.sydesy.com
                                                                 |