XML Demo

original XML

<?xml version="1.0" encoding="utf-8"?>
<cpage>
  <title>Andy's main Page</title>
  <css>menuLeft.css</css>
  <top>top.html</top>
  <menu>menuX.html</menu>
  <content>default.html</content>
</cpage>

extract a named element

Andy's main Page

Extract as an array

title:
Andy's main Page
css:
menuLeft.css
top:
top.html
menu:
menuX.html
content:
default.html