17 May 2006
XML Tutorial Schema -Complex Types
XML Tutorial Schema – Complex Types
by Jaidev
Simply defined(!), Complex Types are elements that can contain sub-elements within or can have attributes.
12 May 2006
STG XML Validation Form
by 3 othersXML Validation Form
To validate a small XML document, just paste it into the text field below and hit the validate button. If the document is too large to be conveniently pasted into the text field, enter its filename into the local file field. You may also validate an arbitrary XML document on the Web by typing its URI into the URI field.
07 April 2006
XML Namespaces
XML Namespaces provide a method to avoid element name conflicts.
PHPBuilder.com, the best resource for PHP tutorials, templates, PHP manuals, content management systems, scripts, classes and more.
Using XML: A PHP Developer's Primer
Saving the XML
You can transform the DOM representation back to the XML string representation using one of the save() and saveXML() methods. The save() function saves the XML to a file with a specified name, whereas the saveXML() function returns a string from part or all of the document.
Zend Technologies - Absolute Beginners - PHP 101 (part 11): Sinfully Simple
Easy Peasy
Unless you've been hiding in a cave for the last few years, you've heard about XML - it's the toolkit that more and more Web publishers are switching to for content markup. You may even have seen an XML document in action, complete with user-defined tags and markup, and you might have wondered how on earth one converts that tangled mess of code into human-readable content.
The answer is, not easily.
While PHP has included support for the two standard methods of parsing (read: making sense of) XML - SAX and DOM - since version 4.0, the complexity and inherent geekiness of these methods often turned off all but the most dedicated XML developers. All that has changed, however, with PHP 5.0, which introduces a brand-spanking-new XML extension named SimpleXML that takes all (and I do mean all) the pain out of processing XML documents. Keep reading, and find out how.
PHPBuilder.com, the best resource for PHP tutorials, templates, PHP manuals, content management systems, scripts, classes and more.
by 4 othersUsing XML: A PHP Developer's Primer
Adam Delves
This series of articles will focus on XML, its applications in modern day web development and how PHP fits into this niche. In this article, we will focus specifically on the tools provided to us by PHP which enable us to manipulate XML data sources.
PHP Tutorials
nless you've been hiding in a cave for the last few years, you've heard about XML - it's the toolkit that more and more Web publishers are switching to for content markup. You may even have seen an XML document in action, complete with user-defined tags and markup, and you might have wondered how on earth one converts that tangled mess of code into human-readable content.
http://www.zend.com/zend/tut/tutbarlach.php?article=tutbarlach
This tutorial is intended for PHP programmers who want to get a quick start on parsing XML and "getting the data out". Experience with PHP4 and familiarity with XML syntax are assumed.
1
(8 marks)