for some reason, i am getting an extra:
<?xml version = "1.0"?>in my xml file…
i am using a file called:
lastLogins.rxml
and the code looks like:
xml = Builder::XmlMarkup.new
xml.instruct! :xml, :version=>“1.0”, :encoding => ‘ISO-8859-1’
xml.loginData do
@lastLogins.each do |login|
xml.entry do
xml.user(login.user)
xml.timestamp(login.timestamp)
end
end
end
this ends up inserting both headers:
<?xml version = "1.0"?> <- from some mystery location..and:
<?xml version="1.0" encoding="ISO-8859-1"?> <- as specified by builderfollowed by all the correct data with the correct layout…
anyone have any ideas?
thanks so much!