Remove the call the style sheet 
[xmlns="http://tempuri.org/PrintersSchema.xsd";], or use the URL to copy it to 
someplace where you can use it.

<?xml version="1.0" standalone="yes"?>
<LabelOrders>
   <Order OrderNumber="123" BCode="11111"  />
</LabelOrders>

--------------
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA
 
"C code. C code run. Run code run. Please!"
- Cynthia Dunning

....-----Original Message-----
....From: Lee [mailto:[EMAIL PROTECTED]
....Sent: Friday, June 03, 2005 9:41 AM
....To: CF-Talk
....Subject: CF 5 and XML
....
....I'm working on a project where I'm stuck on a shared CF 5
....server. We are receiving a very small XML file through a
....web page form. I thought that rather than messing around
....with an old XML parser I would parse the data myself. The
....XML looks like this and will never be more than one record
....long.
....
....<?xml version="1.0" standalone="yes"?>
....<LabelOrders
....xmlns="http://tempuri.org/PrintersSchema.xsd";>
....   <Order OrderNumber="123" BCode="11111"  />
....</LabelOrders>
....
....If I paste that XML code into a form text feild and submit
....and only attempt to view it on the action page I get the
....following error. "Cannot view XML input using XSL style
....sheet." I suspect there is a style sheet on the shared
....server I have no control over. This kills any parsing
....attempt because it wants to ignore the data.
....
....Two questions.
....1) Is there a quick and easy CF 5 XML Parser where I don't
....need to modify the server?
....2) Any ideas on how to get past the error above?
....
....Lee Surma
....
....

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:208540
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to