DOM example for XML manipulation