Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Export XML with Developer Toolbox customization

Status
Not open for further replies.

toekneee

Programmer
Mar 26, 2008
1
US
I am using the Export Recordset as XML from the developer toolbox. I have it working great but I need to be able to add attributes to the RowNode during the export that includes a column from the XML Export. Currently it looks like this:

$xmlExportObj->addColumn("address", "address");
$xmlExportObj->setRowNode("location");

which produces this:
<location>
<address>8086 Queen Palm Ln #315 Radford, VA 22186-6443</address>

I need the xml to look like this:

<location address="701 first street, Sunnyvale, CA">

How do I do this?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top