This course will be retired on June 1, 2025.
Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Start a free Courses trial
to watch this video
XML provides more details than you can convey using a simple object. You'll often find XML being used for things such as rss feeds for blogs or podcasts. We will look at some of the simple ways of working with XML data using built-in PHP functions.
When you need more control of your xml, you could try a package like sabre/xml.
To learn more about XML, there are numerous tutorials available, such as: W3 Schools and Tutorials Point
Other XML with SVG
Scalable Vector Graphics (SVG) is an XML markup language for creating two-dimensional images using vectors. If you'd like to learn more about how to modify abd use SVGs. Check out our SVG Basics course.
There are also packages specifically designed to work with SVG, such as php-svg by JangoBrick to read, edit, write, and render SVG files with PHP
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up