Editing Receipt - XML


N

nate337

Hi

I am trying to edit the X, Z, and ZZ reports and am having troubles.

Here is what I have added:

<!--
===========================
Section: Sales Calculations
===========================
-->

<ROW> "Sales Calculations" </ROW>
<Row> "Net Sales|" Report.Department.Sales </ROW>
<IF>
<CONDITION> HideZeroTaxes </CONDITION>
<THEN>
<FOR each = "ReportTax">
<IF>
<CONDITION> Report.Tax.Total &lt;&gt; 0 </CONDITION>
<THEN>
<ROW> Report.Tax.Description "|" Report.Tax.Total </ROW>
</THEN>
</IF>
</FOR>
</THEN>
<ELSE>
<FOR each = "ReportTax">
<ROW> Report.Tax.Description "|" Report.Tax.Total </ROW>
</FOR>
</ELSE>
</IF>
<ROW> "Gross Sales|" Report.TotalIn </ROW>
<ROW> "" </ROW>

----
The full file is also included.

When I try to import into Manager, it gives me an error that says the XML
may be formed incorrectly.

Thanks for your help
 
Ad

Advertisements

R

root

use Frontpage or an XML editor.. notepad does not work well for that and can
corrupt the file.
 
C

Craig

I've used notepad to edit all of my receipts and never had any issues.
Craig
 
Ad

Advertisements

N

Nate337

I used an XML editor, but it also corrupted the file. Thanks for your help,
but I was also wondering if my coding had an error.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

xml edit 8
XML edit 6
Receipt XML 4
Editing XML files? 2
xml receipt modification 1
XML Receipt and Conditions 1
edit statement .XML 0
Receipt XML - Jeff 1

Top