Loading an XRD file

XRD .xml files may be loaded directly from a file, or from a string:

Loading an XRD file

<?php
try {
   
$xrd->loadFile('/path/to/the/file.xrd');
} catch (
XML_XRD_Exception $e) {
   die(
'Loading XRD file failed: ' $e->getMessage() . "\n");
}
?>

Loading an XRD string

<?php
try {
   
$xrd->loadString($fullXrdXmlHere);
} catch (
XML_XRD_Exception $e) {
   die(
'Loading XRD failed: ' $e->getMessage() . "\n");
}
?>
How to use the package (Previous) Verification (Next)
Last updated: Sat, 25 May 2013 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.