xml edit


B

billr3

I am trying to edit an xml receipt in notepad..whenever I try to save I can't
save as a xml file ..it wants to save as a text file..How can I save as a xml
file?
 
Ad

Advertisements

M

Morris Paint

You can just change the extension manually after you save it. Example - File
saves as "report.txt" Rename it to "report.xml" and that's all there is to
it.
 
J

Jeff

Billr,

Try doing a Ctrl+S to save it. It should save it as the name it opened.

Are you using a Notepad replacement program? Help | About | should say
"Microsoft Notepad"


I am trying to edit an xml receipt in notepad..whenever I try to save I
can't
save as a xml file ..it wants to save as a text file..How can I save as a
xml
file?
 
B

billr3

I copy the xreport..give it a new name ..open it in notepad.. take out the
hourly reports..and just cant get it saved..I keep getting messages about it
being a read only file and or asks me to make sure the file name and path are
correct..when I use ctrl+S it appears in the file box but wont close..there
is a step I am missing..
 
M

Morris Paint

They are all protected. Before you open the copied file, right click on it
and click properties. Then uncheck the Read Only option and apply the
changes. You should be able to edit and save it fine then.
 
B

billr3

Morris, Thanks alot..so far so good..I am trying to take out the hourly
report os sales on the z report...Do you happen to know what lines to take
out..whenever I try I am now getting an error message when I try an import
the new receipt into storeops that says" Cannot open may not be a well formed
document"
 
Ad

Advertisements

M

Morris Paint

Try removing this from the X report:

===========================
Section: Hourly Totals
===========================
-->

<ROW> "Hourly Sales:" </ROW>
<FOR each = "ReportHour">
<ROW> Report.Hour.Hour "|" Report.Hour.Sales "|"
Report.Hour.TransactionCount </ROW>
</FOR>
<ROW>
"|==============================================|=============================================="
</ROW>
<!--

If I remove the last part it gives me errors. I'm not a expert on XML by any
means. But just removing this part leaves the hourly total but not the full
listing by hour.
 
B

billr3

I am still getting the same error report..I will ask around abit..Thanks
 
Ad

Advertisements

H

harv

Do a search for Cooktop XML editor (it's free). This will help when
editing your XML files and it can check the validity of the file before
you save it.
 

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 6
Editing Receipt - XML 3
Editing XML files? 2
edit statement .XML 0
MS POS 2.0 Taskpad Layout Editing with XML 2
XML 0
Xml Structure 0
XML <IF> QUESTION 0

Top