473,325 Members | 2,805 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

cXML

Has anyone worked with the commerce Xml standard before? I'm trying to write a php document that will send a Respond to a cXml Request to my URL. The only sample code I have is ASP, and I don't want to go that route for various reasons. Is this possible with PHP scripting, or do I need to look at Java?
Sep 12 '07 #1
2 3892
PHP can output XML. XML is just text with a header indicating the content type. See http://xml.cxml.org/schemas/cXML/1.1.010/cXMLUsersGuide.pdf for lots and lots of details on it and what constitutes a valid response. To output the right content type, add this PHP before you output the XML you want:

Expand|Select|Wrap|Line Numbers
  1. header('Content-type: text/xml');
  2.  
Sep 12 '07 #2
kovik
1,044 Expert 1GB
The PHP DOM comes in handy for easy XML creation and manipulation. I'm making my own just for the hell of it. :P
Sep 12 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Jason Jodon | last post by:
I am trying to change the value of the Qty field in this cXML stream to reflect the value the user enters in the Qty field. Our programmer showed me this in XML using Microsoft.XMLDOM, but the...
0
by: BenMcClaren | last post by:
Hi, I'm trying to create an XML document in the following form: <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE cXML SYSTEM "http://xml.cXML.org/schemas/cXML/1.2.011/cXML.dtd"> <cXML...
0
by: Richard Buschhold | last post by:
Hi Ng, i need to create an XML-File according to the cXML.dtd. I have to do this from an Access97 database. So I think I have to Access with VBA? Further I think a parser won't help me,...
8
by: Drew | last post by:
I have recently converted all of my native C++ dll's to be compiled with the /CLR switch. After doing this, I notcied a very strange and frustrating issue. One of my managed dll's calls another...
0
by: theHman | last post by:
hi all, about to modify existing ASP/XML online catalog for PunchOut with Ariba. before doing that, thought an ASP.NET webservice work better than classic ASP .. but, can a WS talk in something...
2
by: josh | last post by:
Hi, I am trying to validate cXML documents against cXML.dtd using the XmlValidatingReader. If I set the XMLValidatingReader's ValidatingType to ValidationType.DTD, I get the following...
0
by: samridhi | last post by:
Hi Do anybody have code example in .net of providing a url for posting or requesting cxml timecard data. I searched the net but didn't found any example.
0
by: rando1000 | last post by:
I have some ASP code I'm trying to make work in PHP. The code is intended to receive a cXML feed and send a response. A tool sends this feed via tcp/ip port 80 transfer to my webserver. The tool...
0
by: jtgarrison | last post by:
All - Is there a way to import CXML into Accesss? I know that you can import XML,, but I haven't been successful trying to import CXML. I'm not sure if there needs to be transform or not. ...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.