Vivian's test with attributes

modified by DKS for PHP 5

This is an example for getting all para nodes of an xml document and then display them with their id. See the directory for the source.

ID = 1 : First paragraph

ID = 2 : Second paragraph