// Function to display the selected XML file.
// Open a new window containing the XML file.
// Function to evaluate an XPath expression.
// Check whether a expression was given.
// Stop the execution of this function.
// Create an object to access the current directory.
// Run through all files of the current directory.
// Check whether it's an XML file.
// Add an entry for this file.
// Check whether this file is selected.
// Close the option tag.
// Define the available actions.
"highlight" => "Simply highlight all nodes matching the ".
"remove" => "Remove all nodes matching the XPath ".
// Now run through the array of actions.
// Create the option tag.
// Check whether the option is selected.
// Check whether a file and a expression was given.
// Include the <phpXML/> class.
// Now create a new object for accessing the XML file.
// Evaluate the XPath expression.
// Now check what action to perform.
// Run through all nodes that were found.
// Now display the content of the XML file.
Copyright © 2001 <a href="mailto:mpm@phpxml.org">Michael P. Mehl</a>.