Re: (DBI::Utils::XMLFormatter) Output results as a string?


#1

Try this:

DBI::Utils::XMLFormatter.table(
dbh.select_all(“select * from people”), ‘rows’, ‘row’, asdf)
)

The actual definition looks like this:

XMLFormatter.table(rows, roottag = “rows”, rowtag = “row”,
output=STDOUT)

HTH,

Dan

This communication is the property of Qwest and may contain confidential
or
privileged information. Unauthorized use of this communication is
strictly
prohibited and may be unlawful. If you have received this communication
in error, please immediately notify the sender by reply e-mail and
destroy
all copies of the communication and any attachments.


#2

Worked like a champ. Thank you!!


#3

I’ll check it out tomorrow and let you know.

Thanks again Dan and sorry for the late response :slight_smile: