XML_RDDL::getResourceById | XML_RDDL::getResourcesByPurpose |
XML_RDDL | |
PEAR Manual | |
require_once 'XML/RDDL.php'; |
array XML_RDDL::getResourcesByNature (
string $nature
)
Gets all resources of a given nature from an RDDL document. You have to call XML_RDDL::parseRDDL() first. The nature of a resource is specified by the 'xlink:role' attribute. A nature can be a stylesheet, a DTD, a HTML document, etc. You can find a list of well known natures at http://www.rddl.org/natures/.
string $nature - nature of the resources you want to get.
array array containing all resources with the specified nature.
This function can not be called statically.
Getting all stylesheets from a document
|
XML_RDDL::getResourceById | XML_RDDL::getResourcesByPurpose |
XML_RDDL | |
PEAR Manual | |