Ahh, I found it - just needed to use the target!() method on my builder
object...sorry for the noise :)
Vince
On Sat, 5 Aug 2006, Vince Taluskie wrote:
> Hi All,
>
> I''m trying to return XML from a Rails view of an object I built up
> using Builder::XmlMarkup and I find an annoying side effect is that I
> get an extra <to_xml/> or <to_s/> element back which makes
REXML
> hiccup thinking I''m adding a recond root element when I try to
parse
> the return.
>
> How can I return the XML without this last element?
>
> Thanks,
>
> Vince
>
>
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>