Conditional value in xml node

in my rxml file , I wrote :

  xml.Person(:id => "u-"[email protected]_s, :name => @user.pseudo,

:email => @user.email_address,
:full_name => full_name, :hops => “0”, :imageURL =>
“#{photo_path(@user)}”)

but when the full_name is empty I have a value full_name="" in the
generated file which lead my ActionScript to display a label Name and no
value

I can modify my As , but is there any possibility to writing differently
my xml.Person ?

thanks

kad

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs