warpdesign Posted November 3, 2006 Share Posted November 3, 2006 I need to create a php script that writes form data to an XML file. I was sent an XSD file that contains the schema that the XML file needs to be written in. Apparently you're supposed to load up the schema and then PHP should be able to write the data using that schema. I have no idea how to do this. Is there any information on how to do this online? I've used the dom functions to read XML before but when I write XML files I just literally write out the tags but I can't do that in this case. Link to comment https://forums.phpfreaks.com/topic/26079-writing-xml-using-a-schema/ Share on other sites More sharing options...
buttercupgreen Posted November 5, 2006 Share Posted November 5, 2006 Hi, this is how I read and write XML files using php 5.you can download files at the bottom of this page or only read this tutorial.[url=http://www.dev-tips.org/index.php?title=xml_sample]http://www.dev-tips.org/index.php?title=xml_sample[/url]ERFAN Link to comment https://forums.phpfreaks.com/topic/26079-writing-xml-using-a-schema/#findComment-119886 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.