ChatterBank1 min ago
How To Create An Xml File In Php?
1 Answers
$xml1 = "\n";
$xml1 .= "\t\n";
$xml1 .= "\t\t\n";
I would need to add a schema link to "invoices" so that the XML output looks like the following:
Whatever I try I always receive an error and the XML file is not created. How could I solve this or where could I find information on how to insert the required schema link correctly.
What I have tried so far is to add the link with different solutions including ' or
$xml1 .= "\t\n";
$xml1 .= "\t\n";
$xml1 .= "\t\n";
$xml1 .= "\t\t\n";
I would need to add a schema link to "invoices" so that the XML output looks like the following:
Whatever I try I always receive an error and the XML file is not created. How could I solve this or where could I find information on how to insert the required schema link correctly.
What I have tried so far is to add the link with different solutions including ' or
$xml1 .= "\t\n";
$xml1 .= "\t\n";
Answers
Best Answer
No best answer has yet been selected by priyajazz. Once a best answer has been selected, it will be shown here.
For more on marking an answer as the "Best Answer", please visit our FAQ.Hi priyajazz,
Without more details or what error message it's hard to understand what's going wrong.
Take a look at the following link, it may be helpful. W3schools.com also have some good stuff that might help.
http:// php.net /manual /en/dom documen t.savex ml.php
Good luck with it. :)
Without more details or what error message it's hard to understand what's going wrong.
Take a look at the following link, it may be helpful. W3schools.com also have some good stuff that might help.
http://
Good luck with it. :)
Related Questions
Sorry, we can't find any related questions. Try using the search bar at the top of the page to search for some keywords, or choose a topic and submit your own question.