xml help PLEASE! [message #92418] |
Tue, 06 July 2004 16:13 |
Havoc
Messages: 1 Registered: July 2004
|
Junior Member |
|
|
I have an invoice in xml. I need to know how to move all the data down so that i have room for a logo uptop..
is this as simple to do compared to html? I can't firure out how to do a break..
thanks in advance for any help.
<?xml version="1.0" encoding="iso-8859-1"?>
<Report>
<Column Width="60" Borders="false">
<Data Source="CompanyData.CompanyName" Bold="true"></Data>
<Data Source="CompanyData.Address_Addr1"></Data>
<Data Source="CompanyData.Address_Addr2"></Data>
<Data Source="CompanyData.Address_Addr3"></Data>
<Data Source="{%s, %s %s}
CompanyData.Address_City,CompanyData.Address_State,CompanyData.Address_Postal"></Data>
</Column>
<Column Width="40">
<Data Source="{INVOICE: %s} Invoice.RefNumber" Bold="true"
Borders="true"></Data>
<Data Source="{Date: %s} Invoice.TxnDate"
Borders="true"></Data>
</Column>
<Column Width="60">
<Text Value=""></Text>
<Text Bold="true" Value="Bill To"></Text>
<Data Source="Invoice.BillAddress_Addr1"></Data>
<Data Source="Invoice.BillAddress_Addr2"></Data>
<Data Source="Invoice.BillAddress_Addr3"></Data>
<Data Source="{%s, %s %s}
Invoice.BillAddress_City,Invoice.BillAddress_State,Invoice.BillAddress_Postal"></Data>
</Column>
<Column Width="60" Borders="false">
</Column>
<Column Width="20">
<Text Bold="true" Value="Terms"></Text>
<Data Source="Invoice.Terms.Name"></Data>
</Column>
<Column Width="20">
<Text Bold="true" Value="Rep"></Text>
<Data Source="Invoice.SalesRep.Initial"></Data>
</Column>
<Column Width="10">
<Text Bold="true" Value="Qty" align="center"></Text>
<Dataset Source="InvoiceLineItem.Quantity"
align="center"></Dataset>
</Column>
<Column Width="50">
<Text Bold="true" Value="Description"></Text>
<Dataset Source="InvoiceLineItem.Desc"></Dataset>
</Column>
<Column Width="20">
<Text Bold="true" Value="Price" align="right"></Text>
<Dataset Source="InvoiceLineItem.Rate"
align="right"></Dataset>
</Column>
<Column Width="20">
<Text Bold="true" Value="Amount" align="right"></Text>
<Dataset Source="InvoiceLineItem.Amount"
align="right"></Dataset>
</Column>
<Column Width="100">
<Text Value=""></Text>
</Column>
<Column Width="65">
</Column>
<Column Width="15">
<Text Value="Total: " align="right"></Text>
</Column>
<Column Width="20">
<Data Source="Invoice.Total"></Data>
</Column>
<Column Width="90">
<Text Value=""></Text>
<Text Bold="true"
Value="_______________________________________"></Text>
<Text Bold="true" Value="Signature"></Text>
<Text Value=""></Text>
</Column>
<Column Width="100">
<Image Source="Invoice.Signature"></Image>
</Column>
</Report>
|
|
|