|
Builder.au: Dynamic XML document construction with the PHP DOM |
On Builder.au, there's a new tutorial talking about the dynamic construction of an XML document using the DOM functionality already built into most PHP installs out there. They work through the different steps:Creating the Doctype declarationAdding elements and text nodesAdding attributesAdding CDATA blocks and processing instructionsSaving the resultsFor each on the list, there's code and explanation to help you create the document. By the end, you'll have a document that gives you all the information you'd want to know about someone's pizza order. |