Author
Updated
4/15/2015Released
4/15/2015- Loading an XML document
- Converting values to strings
- Handling errors
- Working with XML namespaces
- Using XPath
- Consuming an RSS feed with XML
- Adding and editing XML elements and attributes
Skill Level Intermediate
Duration
Views
- Hi, I'm David Powers. Welcome to Up and Running with PHP SimpleXML. We'll start with a quick overview and discuss why SimpleXML should probably be your first choice for most tasks. SimpleXML provides direct access to XML elements and attributes by name. After extracting values from a basic XML document, we'll look at working with name spaces, which SimpleXML handles with ease. It's equally capable of sophisticated XML manipulation, as you'll discover when we use it in combination with XPath, and with the standard PHP library to filter data.
You'll learn how to display images from an RSS feed, how to generate XML documents from scratch, and how to format them. SimpleXML offers an intuitive approach to reading and writing XML. So join me, and you'll be up and running with PHP SimpleXML in next to no time.
Related Courses
-
PHP: Accessing Databases with PDO and MySQLi
with David Powers3h 47m Intermediate
-
Introduction
-
Welcome59s
-
Using the exercise files1m 58s
-
-
1. SimpleXML Basics
-
Loading an XML document7m 37s
-
Converting values to strings5m 16s
-
Handling XML errors6m 41s
-
2. Working with XML Namespaces
-
SimpleXML and namespaces3m 58s
-
Getting namespaces5m 51s
-
-
3. Using XPath
-
SimpleXML and XPath1m 9s
-
-
4. Consuming an RSS Feed
-
Caching the feed6m 19s
-
Inspecting the XML structure4m 32s
-
Filtering the feed8m 49s
-
-
5. Modifying an XML Document
-
Formatting SimpleXML output4m 43s
-
Conclusion
-
Next steps1m 34s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Welcome