To install click the Add extension button. That's it.

The source code for the WIKI 2 extension is being checked by specialists of the Mozilla Foundation, Google, and Apple. You could also do it yourself at any point in time.

4,5
Kelly Slayton
Congratulations on this excellent venture… what a great idea!
Alexander Grigorievskiy
I use WIKI 2 every day and almost forgot how the original Wikipedia looks like.
Live Statistics
English Articles
Improved in 24 Hours
Added in 24 Hours
Languages
Recent
Show all languages
What we do. Every page goes through several hundred of perfecting techniques; in live mode. Quite the same Wikipedia. Just better.
.
Leo
Newton
Brights
Milds

From Wikipedia, the free encyclopedia

SimpleXML is a PHP extension that allows users to easily[1][2] manipulate/use XML data. It was introduced in PHP 5 as an object oriented approach to the XML DOM providing an object that can be processed with normal property selectors and array iterators.[3][4] It represents an easy way of getting an element's attributes and textual content if you know the XML document's structure or layout.[5]

Compared to DOM or the Expat parser, SimpleXML takes a fewer lines of code to read text data from an element.[6][7]

YouTube Encyclopedic

  • 1/3
    Views:
    61 334
    72 287
    188 225
  • simpleXML PHP tutorial learn to parse any XML files and RSS feeds
  • Beginner PHP Tutorial - 105 - Reading a Simple XML File: Part 1
  • How to Create Simple XML Document

Transcription

Functions

  • addAttribute()[8]
  • addChild()
  • asXML()
  • attributes()
  • children()
  • __construct()
  • getDocNamespaces()
  • getName()
  • getNamespaces()
  • registerXPathNamespace()
  • xpath()
  • simplexml_import_dom
  • simplexml_load_file
  • simplexml_load_string

Error handling

It is possible to suppress all XML errors when loading the document and then iterate over the errors.[9]

References

  1. ^ "Introducing SimpleXML in PHP 5". 12 June 2006.
  2. ^ "PHP: SimpleXML - Manual".
  3. ^ Richards, Robert (2007-02-05). Pro PHP XML and Web Services. Apress. ISBN 9781430201397.
  4. ^ PHP.net SimpleXML intro
  5. ^ onlamp introduction to SimpleXML
  6. ^ w3schools SimpleXML Tutorial
  7. ^ "PHP Master | Parsing XML with SimpleXML". 11 February 2013.
  8. ^ "PHP: SimpleXMLElement::addAttribute - Manual".
  9. ^ "PHP: Dealing with XML errors - Manual".

External links


This page was last edited on 25 December 2023, at 12:26
Basis of this page is in Wikipedia. Text is available under the CC BY-SA 3.0 Unported License. Non-text media are available under their specified licenses. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc. WIKI 2 is an independent company and has no affiliation with Wikimedia Foundation.