Hi Konstantin;
Normally, this is quite easy once you know the approach and steps to perform.
For example:
1) Create a DWO with the base columns that you need.
2) Enter the SQL Painter and add the extra data to export as "Computed" Columns.
3) Upon return to the DW Painter, expand the XML pane
4) Use the RHMB on the XML template and add an XML Element, as follows:
5) Give the XML element a name (ie: "width"). Then use the RHMB on the new Element and add a Child and map that to a DWO column for that XML element, as follows:
6) repeat the above steps for all the SQL computed columns you wish to export.
7) Save the DWO. Then to test ... Retrieve and perform a SaveAs() in the DW Painter to an XML file.
8) View the XML file and it should be as you initially described.
9) If all looks OK at this point, add the DWO to your PB App. Loop through your DWO primary buffer and set the appropriate values of X, Y and Width just before you perform a SaveAs(XML!). That should do it!
HTH
Regards ... Chris