Ben Woodhead
13 years ago
166 changed files with 27685 additions and 25748 deletions
@ -1,94 +1,94 @@
|
||||
<?php |
||||
|
||||
// $Id$ |
||||
|
||||
/** |
||||
* @file |
||||
* Connection Helper Class |
||||
*/ |
||||
module_load_include('inc', 'ConnectionHelper', ''); |
||||
|
||||
/** |
||||
* Connection Helper Class ?? |
||||
*/ |
||||
class ConnectionHelper { |
||||
|
||||
/** |
||||
* Constructor |
||||
*/ |
||||
function ConnectionHelper() { |
||||
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); |
||||
} |
||||
|
||||
/** |
||||
* fixURL ?? |
||||
* @param type $url |
||||
* @param type $_name |
||||
* @param type $_pass |
||||
* @return string |
||||
*/ |
||||
function _fixURL($url, $_name, $_pass) { |
||||
if (empty($url)) { |
||||
$url = variable_get('fedora_soap_url', 'http://localhost:8080/fedora/services/access?wsdl'); |
||||
} |
||||
|
||||
$creds = urlencode($_name) . ':' . urlencode($_pass); |
||||
|
||||
if (strpos($url, 'http://') === 0) { |
||||
$new_url = 'http://' . $creds . '@' . substr($url, 7); |
||||
} |
||||
elseif (strpos($url, 'https://') === 0) { |
||||
$new_url = 'https://' . $creds . '@' . substr($url, 8); |
||||
} |
||||
else { |
||||
drupal_set_message(t('Invalid URL: !url', array('!url' => $url))); |
||||
return NULL; |
||||
} |
||||
|
||||
return $new_url; |
||||
} |
||||
|
||||
/** |
||||
* getSoapClient |
||||
* @global type $user |
||||
* @param type $url |
||||
* @param type $exceptions |
||||
* @return SoapClient |
||||
*/ |
||||
function getSoapClient($url = NULL, $exceptions = TRUE) { |
||||
if (empty($url)) { |
||||
$url = variable_get('fedora_soap_url', 'http://localhost:8080/fedora/services/access?wsdl'); |
||||
} |
||||
|
||||
global $user; |
||||
if ($user->uid == 0) { |
||||
//anonymous user. We will need an entry in the fedora users.xml file |
||||
//with the appropriate entry for a username of anonymous password of anonymous |
||||
try { |
||||
$client = new SoapClient($this->_fixURL($url, 'anonymous', 'anonymous'), array( |
||||
'login' => 'anonymous', |
||||
'password' => 'anonymous', |
||||
'exceptions' => $exceptions, |
||||
)); |
||||
} catch (SoapFault $e) { |
||||
drupal_set_message(t("!e", array('!e' => $e->getMessage()))); |
||||
return NULL; |
||||
} |
||||
} |
||||
else { |
||||
try { |
||||
$client = new SoapClient($this->_fixURL($url, $user->name, $user->pass), array( |
||||
'login' => $user->name, |
||||
'password' => $user->pass, |
||||
'exceptions' => TRUE, |
||||
)); |
||||
} catch (SoapFault $e) { |
||||
drupal_set_message(t("!e", array('!e' => $e->getMessage()))); |
||||
return NULL; |
||||
} |
||||
} |
||||
return $client; |
||||
} |
||||
|
||||
} |
||||
|
||||
<?php |
||||
|
||||
// $Id$ |
||||
|
||||
/** |
||||
* @file |
||||
* Connection Helper Class |
||||
*/ |
||||
module_load_include('inc', 'ConnectionHelper', ''); |
||||
|
||||
/** |
||||
* Connection Helper Class ?? |
||||
*/ |
||||
class ConnectionHelper { |
||||
|
||||
/** |
||||
* Constructor |
||||
*/ |
||||
function ConnectionHelper() { |
||||
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); |
||||
} |
||||
|
||||
/** |
||||
* fixURL ?? |
||||
* @param type $url |
||||
* @param type $_name |
||||
* @param type $_pass |
||||
* @return string |
||||
*/ |
||||
function _fixURL($url, $_name, $_pass) { |
||||
if (empty($url)) { |
||||
$url = variable_get('fedora_soap_url', 'http://localhost:8080/fedora/services/access?wsdl'); |
||||
} |
||||
|
||||
$creds = urlencode($_name) . ':' . urlencode($_pass); |
||||
|
||||
if (strpos($url, 'http://') === 0) { |
||||
$new_url = 'http://' . $creds . '@' . substr($url, 7); |
||||
} |
||||
elseif (strpos($url, 'https://') === 0) { |
||||
$new_url = 'https://' . $creds . '@' . substr($url, 8); |
||||
} |
||||
else { |
||||
drupal_set_message(t('Invalid URL: !url', array('!url' => $url))); |
||||
return NULL; |
||||
} |
||||
|
||||
return $new_url; |
||||
} |
||||
|
||||
/** |
||||
* getSoapClient |
||||
* @global type $user |
||||
* @param type $url |
||||
* @param type $exceptions |
||||
* @return SoapClient |
||||
*/ |
||||
function getSoapClient($url = NULL, $exceptions = TRUE) { |
||||
if (empty($url)) { |
||||
$url = variable_get('fedora_soap_url', 'http://localhost:8080/fedora/services/access?wsdl'); |
||||
} |
||||
|
||||
global $user; |
||||
if ($user->uid == 0) { |
||||
//anonymous user. We will need an entry in the fedora users.xml file |
||||
//with the appropriate entry for a username of anonymous password of anonymous |
||||
try { |
||||
$client = new SoapClient($this->_fixURL($url, 'anonymous', 'anonymous'), array( |
||||
'login' => 'anonymous', |
||||
'password' => 'anonymous', |
||||
'exceptions' => $exceptions, |
||||
)); |
||||
} catch (SoapFault $e) { |
||||
drupal_set_message(t("!e", array('!e' => $e->getMessage()))); |
||||
return NULL; |
||||
} |
||||
} |
||||
else { |
||||
try { |
||||
$client = new SoapClient($this->_fixURL($url, $user->name, $user->pass), array( |
||||
'login' => $user->name, |
||||
'password' => $user->pass, |
||||
'exceptions' => TRUE, |
||||
)); |
||||
} catch (SoapFault $e) { |
||||
drupal_set_message(t("!e", array('!e' => $e->getMessage()))); |
||||
return NULL; |
||||
} |
||||
} |
||||
return $client; |
||||
} |
||||
|
||||
} |
||||
|
||||
|
@ -1,223 +1,223 @@
|
||||
<?php |
||||
|
||||
// $Id$ |
||||
|
||||
/** |
||||
* @file |
||||
* SecurityClass Class |
||||
*/ |
||||
|
||||
/** |
||||
* SecurityClass ?? |
||||
*/ |
||||
class SecurityClass { |
||||
|
||||
public static $SECURITY_CLASS_SECURITY_STREAM = 'POLICY'; |
||||
|
||||
/** |
||||
* Constructor |
||||
*/ |
||||
function SecurityClass() { |
||||
module_load_include('inc', 'SecurityClass', ''); |
||||
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); |
||||
} |
||||
|
||||
/** |
||||
* canIngestHere ?? |
||||
* @global type $user |
||||
* @param type $collection_pid |
||||
* @return type |
||||
*/ |
||||
function canIngestHere($collection_pid) { |
||||
global $user; |
||||
module_load_include('inc', 'fedora_repository', 'ObjectHelper'); |
||||
$objectHelper = new ObjectHelper(); |
||||
// get the childsecurity policy from the collection. |
||||
$policyStream = $objectHelper->getStream($collection_pid, SECURITYCLASS :: $SECURITY_CLASS_SECURITY_STREAM, FALSE); |
||||
|
||||
if ($policyStream == NULL) { |
||||
// no child policy stream so collection is wide open to anyone to ingest, that has the permission ingest in Drupal. |
||||
// maybe we should return FALSE here?? would be more secure. |
||||
return TRUE; |
||||
} |
||||
$allowedUsersAndRoles = $this->getAllowedUsersAndRoles($policyStream); |
||||
if (!$allowedUsersAndRoles) { |
||||
// error processing stream so don't let them ingest here. |
||||
return FALSE; |
||||
} |
||||
$allowedUsers = $allowedUsersAndRoles["users"]; |
||||
$allowedRoles = $allowedUsersAndRoles["roles"]; |
||||
|
||||
foreach ($user->roles as $role) { |
||||
if (in_array($role, $allowedRoles)) { |
||||
return TRUE; |
||||
} |
||||
} |
||||
|
||||
if (in_array($user->name, $allowedUsers)) { |
||||
return TRUE; |
||||
} |
||||
return FALSE; |
||||
} |
||||
|
||||
/** |
||||
* parses our simple xacml policies checking for users or roles that are allowed to ingest |
||||
* @param type $policyStream |
||||
* @return type |
||||
*/ |
||||
function getAllowedUsersAndRoles($policyStream) { |
||||
$allowedRoles = array(); |
||||
$allowedUsers = array(); |
||||
$usersAndRoles = array(); |
||||
try { |
||||
$xml = new SimpleXMLElement($policyStream); |
||||
} catch (Exception $e) { |
||||
watchdog(t("Fedora_Repository"), t("No roles found in security policy, could not parse policy stream."), NULL, WATCHDOG_ERROR); |
||||
//we may not want to send this to the screen. |
||||
drupal_set_message(t('No roles found in security policy, could not parse policy stream: !message', array('!message' => $e->getMessage())), 'error'); |
||||
return NULL; |
||||
} |
||||
$xml->registerXPathNamespace('default', 'urn:oasis:names:tc:xacml:1.0:policy'); |
||||
|
||||
$conditions = $xml->xpath("//default:Condition"); |
||||
|
||||
foreach ($conditions as $condition) { |
||||
$designator = $condition->Apply->SubjectAttributeDesignator; |
||||
if (empty($designator)) {//$disignator may be wrapped by an or |
||||
$designator = $condition->Apply->Apply->SubjectAttributeDesignator; |
||||
} |
||||
$attributeId = strip_tags($designator['AttributeId']); |
||||
|
||||
if ($attributeId == "fedoraRole") { |
||||
foreach ($condition->Apply->Apply->AttributeValue as $attributeValue) { |
||||
$allowedRoles[] = strip_tags($attributeValue->asXML()); |
||||
} |
||||
foreach ($condition->Apply->Apply->Apply->AttributeValue as $attributeValue) { |
||||
$allowedRoles[] = strip_tags($attributeValue->asXML()); |
||||
} |
||||
} |
||||
if ($attributeId == "urn:fedora:names:fedora:2.1:subject:loginId") { |
||||
foreach ($condition->Apply->Apply->AttributeValue as $attributeValue) { |
||||
$allowedUsers[] = strip_tags($attributeValue->asXML()); |
||||
} |
||||
foreach ($condition->Apply->Apply->Apply->AttributeValue as $attributeValue) { |
||||
$allowedUsers[] = strip_tags($attributeValue->asXML()); |
||||
} |
||||
} |
||||
} |
||||
$usersAndRoles['users'] = $allowedUsers; |
||||
$usersAndRoles['roles'] = $allowedRoles; |
||||
return $usersAndRoles; |
||||
} |
||||
|
||||
/** |
||||
* When a user's profile is saved in drupal we will attempt to create a collection for them in Fedora |
||||
* this will be their personal space. In the IR it is editable by users with the same role in the VRE |
||||
* it probably would not be. |
||||
* @param type $user |
||||
* @return DOMDocument |
||||
*/ |
||||
function createPersonalPolicy($user) { |
||||
$doc = new DOMDocument(); |
||||
try { |
||||
$doc->load(drupal_get_path('module', 'Fedora_Repository') . '/policies/noObjectEditPolicy.xml'); |
||||
} catch (exception $e) { |
||||
watchdog(t("Fedora_Repository"), t("Problem loading policy file."), NULL, WATCHDOG_ERROR); |
||||
} |
||||
$conditions = $doc->getElementsByTagName('Condition'); |
||||
foreach ($conditions as $condition) { |
||||
$designator = $condition->getElementsByTagName('SubjectAttributeDesignator'); |
||||
foreach ($designator as $des) { |
||||
$attributeId = $des->getAttribute('AttributeId'); |
||||
if ($attributeId == 'fedoraRole') { |
||||
$applies = $condition->getElementsByTagName('Apply'); |
||||
foreach ($applies as $apply) { |
||||
$functionId = $apply->getAttribute('FunctionId'); |
||||
if ($functionId == 'urn:oasis:names:tc:xacml:1.0:function:string-bag') { |
||||
foreach ($user->roles as $role) { |
||||
if (!($role == 'authenticated user' || $role == 'administrator')) { //don't want authenticated user included administrator already is included' |
||||
$newAttributeValue = $doc->createElement('AttributeValue', '<![CDATA[' . $role . ']]>'); |
||||
$newAttributeValue->setAttribute('DataType', 'http://www.w3.org/2001/XMLSchema#string'); |
||||
// $newAttributeValue->setAttribute('MustBePresent', 'FALSE'); |
||||
$apply->appendChild($newAttributeValue); |
||||
} |
||||
} |
||||
} |
||||
} |
||||
} |
||||
|
||||
if ($attributeId == 'urn:fedora:names:fedora:2.1:subject:loginId') { |
||||
$applies = $condition->getElementsByTagName('Apply'); |
||||
foreach ($applies as $apply) { |
||||
$functionId = $apply->getAttribute('FunctionId'); |
||||
if ($functionId == 'urn:oasis:names:tc:xacml:1.0:function:string-bag') { |
||||
$newAttributeValue = $doc->createElement('AttributeValue', $user->name); |
||||
$newAttributeValue->setAttribute('DataType', 'http://www.w3.org/2001/XMLSchema#string'); |
||||
//$newAttributeValue->setAttribute('MustBePresent', 'FALSE'); |
||||
$apply->appendChild($newAttributeValue); |
||||
} |
||||
} |
||||
} |
||||
} |
||||
} |
||||
|
||||
return $doc; //NULL; //$xml; |
||||
} |
||||
|
||||
/** |
||||
* Add a list of allowed users and roles to the given policy stream and return it. |
||||
* |
||||
* @param string $policy_stream |
||||
* @param array $users_and_roles |
||||
* @return DOMDocument |
||||
*/ |
||||
function set_allowed_users_and_roles(&$policy_stream, $users_and_roles) { |
||||
$allowed_roles = $users_and_roles['roles']; |
||||
$allowed_users = $users_and_roles['users']; |
||||
$dom = new DOMDocument(); |
||||
$dom->loadXML($policy_stream); |
||||
$conditions = $dom->getElementsByTagName('Condition'); |
||||
foreach ($conditions as $condition) { |
||||
$designator = $condition->getElementsByTagName('SubjectAttributeDesignator'); |
||||
foreach ($designator as $des) { |
||||
$attributeId = $des->getAttribute('AttributeId'); |
||||
if ($attributeId == 'fedoraRole') { |
||||
// $applies = $condition->getElementsByTagName('Apply'); |
||||
$applies = $des->parentNode->getElementsByTagName('Apply'); |
||||
foreach ($applies as $apply) { |
||||
$functionId = $apply->getAttribute('FunctionId'); |
||||
if ($functionId == 'urn:oasis:names:tc:xacml:1.0:function:string-bag') { |
||||
foreach ($allowed_roles as $role) { |
||||
if (!($role == 'authenticated user' || $role == 'administrator')) { //don't want authenticated user included administrator already is included' |
||||
$newAttributeValue = $dom->createElement('AttributeValue', $role); |
||||
$newAttributeValue->setAttribute('DataType', 'http://www.w3.org/2001/XMLSchema#string'); |
||||
//$newAttributeValue->setAttribute('MustBePresent', 'FALSE'); |
||||
$apply->appendChild($newAttributeValue); |
||||
} |
||||
} |
||||
} |
||||
} |
||||
} |
||||
|
||||
if ($attributeId == 'urn:fedora:names:fedora:2.1:subject:loginId') { |
||||
// $applies = $condition->getElementsByTagName('Apply'); |
||||
$applies = $des->parentNode->getElementsByTagName('Apply'); |
||||
foreach ($applies as $apply) { |
||||
$functionId = $apply->getAttribute('FunctionId'); |
||||
if ($functionId == 'urn:oasis:names:tc:xacml:1.0:function:string-bag') { |
||||
foreach ($allowed_users as $username) { |
||||
$newAttributeValue = $dom->createElement('AttributeValue', $username); |
||||
$newAttributeValue->setAttribute('DataType', 'http://www.w3.org/2001/XMLSchema#string'); |
||||
//$newAttributeValue->setAttribute('MustBePresent', 'FALSE'); |
||||
$apply->appendChild($newAttributeValue); |
||||
} |
||||
} |
||||
} |
||||
} |
||||
} |
||||
} |
||||
// $this->collection_policy_stream = $dom->saveXML(); |
||||
return $dom->saveXML(); |
||||
} |
||||
|
||||
} |
||||
<?php |
||||
|
||||
// $Id$ |
||||
|
||||
/** |
||||
* @file |
||||
* SecurityClass Class |
||||
*/ |
||||
|
||||
/** |
||||
* SecurityClass ?? |
||||
*/ |
||||
class SecurityClass { |
||||
|
||||
public static $SECURITY_CLASS_SECURITY_STREAM = 'POLICY'; |
||||
|
||||
/** |
||||
* Constructor |
||||
*/ |
||||
function SecurityClass() { |
||||
module_load_include('inc', 'SecurityClass', ''); |
||||
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); |
||||
} |
||||
|
||||
/** |
||||
* canIngestHere ?? |
||||
* @global type $user |
||||
* @param type $collection_pid |
||||
* @return type |
||||
*/ |
||||
function canIngestHere($collection_pid) { |
||||
global $user; |
||||
module_load_include('inc', 'fedora_repository', 'ObjectHelper'); |
||||
$objectHelper = new ObjectHelper(); |
||||
// get the childsecurity policy from the collection. |
||||
$policyStream = $objectHelper->getStream($collection_pid, SECURITYCLASS :: $SECURITY_CLASS_SECURITY_STREAM, FALSE); |
||||
|
||||
if ($policyStream == NULL) { |
||||
// no child policy stream so collection is wide open to anyone to ingest, that has the permission ingest in Drupal. |
||||
// maybe we should return FALSE here?? would be more secure. |
||||
return TRUE; |
||||
} |
||||
$allowedUsersAndRoles = $this->getAllowedUsersAndRoles($policyStream); |
||||
if (!$allowedUsersAndRoles) { |
||||
// error processing stream so don't let them ingest here. |
||||
return FALSE; |
||||
} |
||||
$allowedUsers = $allowedUsersAndRoles["users"]; |
||||
$allowedRoles = $allowedUsersAndRoles["roles"]; |
||||
|
||||
foreach ($user->roles as $role) { |
||||
if (in_array($role, $allowedRoles)) { |
||||
return TRUE; |
||||
} |
||||
} |
||||
|
||||
if (in_array($user->name, $allowedUsers)) { |
||||
return TRUE; |
||||
} |
||||
return FALSE; |
||||
} |
||||
|
||||
/** |
||||
* parses our simple xacml policies checking for users or roles that are allowed to ingest |
||||
* @param type $policyStream |
||||
* @return type |
||||
*/ |
||||
function getAllowedUsersAndRoles($policyStream) { |
||||
$allowedRoles = array(); |
||||
$allowedUsers = array(); |
||||
$usersAndRoles = array(); |
||||
try { |
||||
$xml = new SimpleXMLElement($policyStream); |
||||
} catch (Exception $e) { |
||||
watchdog(t("Fedora_Repository"), t("No roles found in security policy, could not parse policy stream."), NULL, WATCHDOG_ERROR); |
||||
//we may not want to send this to the screen. |
||||
drupal_set_message(t('No roles found in security policy, could not parse policy stream: !message', array('!message' => $e->getMessage())), 'error'); |
||||
return NULL; |
||||
} |
||||
$xml->registerXPathNamespace('default', 'urn:oasis:names:tc:xacml:1.0:policy'); |
||||
|
||||
$conditions = $xml->xpath("//default:Condition"); |
||||
|
||||
foreach ($conditions as $condition) { |
||||
$designator = $condition->Apply->SubjectAttributeDesignator; |
||||
if (empty($designator)) {//$disignator may be wrapped by an or |
||||
$designator = $condition->Apply->Apply->SubjectAttributeDesignator; |
||||
} |
||||
$attributeId = strip_tags($designator['AttributeId']); |
||||
|
||||
if ($attributeId == "fedoraRole") { |
||||
foreach ($condition->Apply->Apply->AttributeValue as $attributeValue) { |
||||
$allowedRoles[] = strip_tags($attributeValue->asXML()); |
||||
} |
||||
foreach ($condition->Apply->Apply->Apply->AttributeValue as $attributeValue) { |
||||
$allowedRoles[] = strip_tags($attributeValue->asXML()); |
||||
} |
||||
} |
||||
if ($attributeId == "urn:fedora:names:fedora:2.1:subject:loginId") { |
||||
foreach ($condition->Apply->Apply->AttributeValue as $attributeValue) { |
||||
$allowedUsers[] = strip_tags($attributeValue->asXML()); |
||||
} |
||||
foreach ($condition->Apply->Apply->Apply->AttributeValue as $attributeValue) { |
||||
$allowedUsers[] = strip_tags($attributeValue->asXML()); |
||||
} |
||||
} |
||||
} |
||||
$usersAndRoles['users'] = $allowedUsers; |
||||
$usersAndRoles['roles'] = $allowedRoles; |
||||
return $usersAndRoles; |
||||
} |
||||
|
||||
/** |
||||
* When a user's profile is saved in drupal we will attempt to create a collection for them in Fedora |
||||
* this will be their personal space. In the IR it is editable by users with the same role in the VRE |
||||
* it probably would not be. |
||||
* @param type $user |
||||
* @return DOMDocument |
||||
*/ |
||||
function createPersonalPolicy($user) { |
||||
$doc = new DOMDocument(); |
||||
try { |
||||
$doc->load(drupal_get_path('module', 'Fedora_Repository') . '/policies/noObjectEditPolicy.xml'); |
||||
} catch (exception $e) { |
||||
watchdog(t("Fedora_Repository"), t("Problem loading policy file."), NULL, WATCHDOG_ERROR); |
||||
} |
||||
$conditions = $doc->getElementsByTagName('Condition'); |
||||
foreach ($conditions as $condition) { |
||||
$designator = $condition->getElementsByTagName('SubjectAttributeDesignator'); |
||||
foreach ($designator as $des) { |
||||
$attributeId = $des->getAttribute('AttributeId'); |
||||
if ($attributeId == 'fedoraRole') { |
||||
$applies = $condition->getElementsByTagName('Apply'); |
||||
foreach ($applies as $apply) { |
||||
$functionId = $apply->getAttribute('FunctionId'); |
||||
if ($functionId == 'urn:oasis:names:tc:xacml:1.0:function:string-bag') { |
||||
foreach ($user->roles as $role) { |
||||
if (!($role == 'authenticated user' || $role == 'administrator')) { //don't want authenticated user included administrator already is included' |
||||
$newAttributeValue = $doc->createElement('AttributeValue', '<![CDATA[' . $role . ']]>'); |
||||
$newAttributeValue->setAttribute('DataType', 'http://www.w3.org/2001/XMLSchema#string'); |
||||
// $newAttributeValue->setAttribute('MustBePresent', 'FALSE'); |
||||
$apply->appendChild($newAttributeValue); |
||||
} |
||||
} |
||||
} |
||||
} |
||||
} |
||||
|
||||
if ($attributeId == 'urn:fedora:names:fedora:2.1:subject:loginId') { |
||||
$applies = $condition->getElementsByTagName('Apply'); |
||||
foreach ($applies as $apply) { |
||||
$functionId = $apply->getAttribute('FunctionId'); |
||||
if ($functionId == 'urn:oasis:names:tc:xacml:1.0:function:string-bag') { |
||||
$newAttributeValue = $doc->createElement('AttributeValue', $user->name); |
||||
$newAttributeValue->setAttribute('DataType', 'http://www.w3.org/2001/XMLSchema#string'); |
||||
//$newAttributeValue->setAttribute('MustBePresent', 'FALSE'); |
||||
$apply->appendChild($newAttributeValue); |
||||
} |
||||
} |
||||
} |
||||
} |
||||
} |
||||
|
||||
return $doc; //NULL; //$xml; |
||||
} |
||||
|
||||
/** |
||||
* Add a list of allowed users and roles to the given policy stream and return it. |
||||
* |
||||
* @param string $policy_stream |
||||
* @param array $users_and_roles |
||||
* @return DOMDocument |
||||
*/ |
||||
function set_allowed_users_and_roles(&$policy_stream, $users_and_roles) { |
||||
$allowed_roles = $users_and_roles['roles']; |
||||
$allowed_users = $users_and_roles['users']; |
||||
$dom = new DOMDocument(); |
||||
$dom->loadXML($policy_stream); |
||||
$conditions = $dom->getElementsByTagName('Condition'); |
||||
foreach ($conditions as $condition) { |
||||
$designator = $condition->getElementsByTagName('SubjectAttributeDesignator'); |
||||
foreach ($designator as $des) { |
||||
$attributeId = $des->getAttribute('AttributeId'); |
||||
if ($attributeId == 'fedoraRole') { |
||||
// $applies = $condition->getElementsByTagName('Apply'); |
||||
$applies = $des->parentNode->getElementsByTagName('Apply'); |
||||
foreach ($applies as $apply) { |
||||
$functionId = $apply->getAttribute('FunctionId'); |
||||
if ($functionId == 'urn:oasis:names:tc:xacml:1.0:function:string-bag') { |
||||
foreach ($allowed_roles as $role) { |
||||
if (!($role == 'authenticated user' || $role == 'administrator')) { //don't want authenticated user included administrator already is included' |
||||
$newAttributeValue = $dom->createElement('AttributeValue', $role); |
||||
$newAttributeValue->setAttribute('DataType', 'http://www.w3.org/2001/XMLSchema#string'); |
||||
//$newAttributeValue->setAttribute('MustBePresent', 'FALSE'); |
||||
$apply->appendChild($newAttributeValue); |
||||
} |
||||
} |
||||
} |
||||
} |
||||
} |
||||
|
||||
if ($attributeId == 'urn:fedora:names:fedora:2.1:subject:loginId') { |
||||
// $applies = $condition->getElementsByTagName('Apply'); |
||||
$applies = $des->parentNode->getElementsByTagName('Apply'); |
||||
foreach ($applies as $apply) { |
||||
$functionId = $apply->getAttribute('FunctionId'); |
||||
if ($functionId == 'urn:oasis:names:tc:xacml:1.0:function:string-bag') { |
||||
foreach ($allowed_users as $username) { |
||||
$newAttributeValue = $dom->createElement('AttributeValue', $username); |
||||
$newAttributeValue->setAttribute('DataType', 'http://www.w3.org/2001/XMLSchema#string'); |
||||
//$newAttributeValue->setAttribute('MustBePresent', 'FALSE'); |
||||
$apply->appendChild($newAttributeValue); |
||||
} |
||||
} |
||||
} |
||||
} |
||||
} |
||||
} |
||||
// $this->collection_policy_stream = $dom->saveXML(); |
||||
return $dom->saveXML(); |
||||
} |
||||
|
||||
} |
||||
|
@ -1,21 +1,22 @@
|
||||
|
||||
<collection_policy name="" xmlns="http://www.islandora.ca" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.islandora.ca http://syn.lib.umanitoba.ca/collection_policy.xsd"> |
||||
<content_models> |
||||
<content_model dsid="ISLANDORACM" name="Collection" namespace="islandora:collection" pid="islandora:collectionCModel"/> |
||||
</content_models> |
||||
<search_terms> |
||||
<term field="dc.title">dc.title</term> |
||||
<term field="dc.creator">dc.creator</term> |
||||
<term default="true" field="dc.description">dc.description</term> |
||||
<term field="dc.date">dc.date</term> |
||||
<term field="dc.identifier">dc.identifier</term> |
||||
<term field="dc.language">dc.language</term> |
||||
<term field="dc.publisher">dc.publisher</term> |
||||
<term field="dc.rights">dc.rights</term> |
||||
<term field="dc.subject">dc.subject</term> |
||||
<term field="dc.relation">dc.relation</term> |
||||
<term field="dcterms.temporal">dcterms.temporal</term> |
||||
<term field="dcterms.spatial">dcterms.spatial</term> |
||||
<term field="fgs.DS.first.text">Full Text</term> |
||||
</search_terms> |
||||
<relationship>isMemberOfCollection</relationship> |
||||
<content_models> |
||||
<content_model dsid="ISLANDORACM" name="Collection" namespace="islandora:collection" pid="islandora:collectionCModel"/> |
||||
</content_models> |
||||
<search_terms> |
||||
<term field="dc.title">dc.title</term> |
||||
<term field="dc.creator">dc.creator</term> |
||||
<term default="true" field="dc.description">dc.description</term> |
||||
<term field="dc.date">dc.date</term> |
||||
<term field="dc.identifier">dc.identifier</term> |
||||
<term field="dc.language">dc.language</term> |
||||
<term field="dc.publisher">dc.publisher</term> |
||||
<term field="dc.rights">dc.rights</term> |
||||
<term field="dc.subject">dc.subject</term> |
||||
<term field="dc.relation">dc.relation</term> |
||||
<term field="dcterms.temporal">dcterms.temporal</term> |
||||
<term field="dcterms.spatial">dcterms.spatial</term> |
||||
<term field="fgs.DS.first.text">Full Text</term> |
||||
</search_terms> |
||||
<relationship>isMemberOfCollection</relationship> |
||||
</collection_policy> |
||||
|
@ -1,22 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<collection_policy xmlns="http://www.islandora.ca" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="" xsi:schemaLocation="http://www.islandora.ca http://syn.lib.umanitoba.ca/collection_policy.xsd"> |
||||
<content_models> |
||||
<content_model name="STANDARD_JPEG" dsid="ISLANDORACM" namespace="demo:Smiley" pid="demo:DualResImage"/> |
||||
</content_models> |
||||
<search_terms> |
||||
<term field="dc.title">dc.title</term> |
||||
<term field="dc.creator">dc.creator</term> |
||||
<term field="dc.description" default="true">dc.description</term> |
||||
<term field="dc.date">dc.date</term> |
||||
<term field="dc.identifier">dc.identifier</term> |
||||
<term field="dc.language">dc.language</term> |
||||
<term field="dc.publisher">dc.publisher</term> |
||||
<term field="dc.rights">dc.rights</term> |
||||
<term field="dc.subject">dc.subject</term> |
||||
<term field="dc.relation">dc.relation</term> |
||||
<term field="dcterms.temporal">dcterms.temporal</term> |
||||
<term field="dcterms.spatial">dcterms.spatial</term> |
||||
<term field="fgs.DS.first.text">Full Text</term> |
||||
</search_terms> |
||||
<relationship>isMemberOf</relationship> |
||||
<content_models> |
||||
<content_model name="STANDARD_JPEG" dsid="ISLANDORACM" namespace="demo:Smiley" pid="demo:DualResImage"/> |
||||
</content_models> |
||||
<search_terms> |
||||
<term field="dc.title">dc.title</term> |
||||
<term field="dc.creator">dc.creator</term> |
||||
<term field="dc.description" default="true">dc.description</term> |
||||
<term field="dc.date">dc.date</term> |
||||
<term field="dc.identifier">dc.identifier</term> |
||||
<term field="dc.language">dc.language</term> |
||||
<term field="dc.publisher">dc.publisher</term> |
||||
<term field="dc.rights">dc.rights</term> |
||||
<term field="dc.subject">dc.subject</term> |
||||
<term field="dc.relation">dc.relation</term> |
||||
<term field="dcterms.temporal">dcterms.temporal</term> |
||||
<term field="dcterms.spatial">dcterms.spatial</term> |
||||
<term field="fgs.DS.first.text">Full Text</term> |
||||
</search_terms> |
||||
<relationship>isMemberOf</relationship> |
||||
</collection_policy> |
||||
|
@ -1 +1,24 @@
|
||||
<?xml version="1.0" encoding="utf-8"?> <collection_policy xmlns="http://www.islandora.ca" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="" xsi:schemaLocation="http://www.islandora.ca http://syn.lib.umanitoba.ca/collection_policy.xsd"> <content_models> <content_model name="STANDARD_PDF" dsid="ISLANDORACM" namespace="islandora:spdf" pid="islandora:standard_pdf"/> <content_model name="STRICT_PDF" dsid="ISLANDORACM" namespace="islandora:strictpdf" pid="islandora:strict_pdf"/> <content_model name="REFWORKS_BATCH" dsid="ISLANDORACM" namespace="islandora:ref" pid="islandora:refworks_cm"/> </content_models> <search_terms> <term field="dc.title">dc.title</term> <term field="dc.creator">dc.creator</term> <term field="dc.description" default="true">dc.description</term> <term field="dc.date">dc.date</term> <term field="dc.identifier">dc.identifier</term> <term field="dc.language">dc.language</term> <term field="dc.publisher">dc.publisher</term> <term field="dc.rights">dc.rights</term> <term field="dc.subject">dc.subject</term> <term field="dc.relation">dc.relation</term> <term field="dcterms.temporal">dcterms.temporal</term> <term field="dcterms.spatial">dcterms.spatial</term> <term field="fgs.DS.first.text">Full Text</term> </search_terms> <relationship>isMemberOfCollection</relationship> </collection_policy> |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<collection_policy xmlns="http://www.islandora.ca" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="" xsi:schemaLocation="http://www.islandora.ca http://syn.lib.umanitoba.ca/collection_policy.xsd"> |
||||
<content_models> |
||||
<content_model name="STANDARD_PDF" dsid="ISLANDORACM" namespace="islandora:spdf" pid="islandora:standard_pdf"/> |
||||
<content_model name="STRICT_PDF" dsid="ISLANDORACM" namespace="islandora:strictpdf" pid="islandora:strict_pdf"/> |
||||
<content_model name="REFWORKS_BATCH" dsid="ISLANDORACM" namespace="islandora:ref" pid="islandora:refworks_cm"/> |
||||
</content_models> |
||||
<search_terms> |
||||
<term field="dc.title">dc.title</term> |
||||
<term field="dc.creator">dc.creator</term> |
||||
<term field="dc.description" default="true">dc.description</term> |
||||
<term field="dc.date">dc.date</term> |
||||
<term field="dc.identifier">dc.identifier</term> |
||||
<term field="dc.language">dc.language</term> |
||||
<term field="dc.publisher">dc.publisher</term> |
||||
<term field="dc.rights">dc.rights</term> |
||||
<term field="dc.subject">dc.subject</term> |
||||
<term field="dc.relation">dc.relation</term> |
||||
<term field="dcterms.temporal">dcterms.temporal</term> |
||||
<term field="dcterms.spatial">dcterms.spatial</term> |
||||
<term field="fgs.DS.first.text">Full Text</term> |
||||
</search_terms> |
||||
<relationship>isMemberOfCollection</relationship> |
||||
</collection_policy> |
@ -1,69 +1,70 @@
|
||||
|
||||
<collection_policy> |
||||
<!---we will define allowed mimetypes and what to do with various types as part of the content model--> |
||||
<contentmodels> |
||||
<contentmodel name="Book"> |
||||
<pid_namespace>islandora</pid_namespace> |
||||
<pid>ilives:bookCModel</pid> |
||||
<dsid>ISLANDORACM</dsid> |
||||
</contentmodel> |
||||
</contentmodels> |
||||
<contentmodels> |
||||
<contentmodel name="Book"> |
||||
<pid_namespace>islandora</pid_namespace> |
||||
<pid>ilives:bookCModel</pid> |
||||
<dsid>ISLANDORACM</dsid> |
||||
</contentmodel> |
||||
</contentmodels> |
||||
<!--if we define a query for an object the relationship we ask for may not be isMemberOfCollection. So when we ingest in th |
||||
Collection we will want the relationship to match the query. If this element is null we will use the isMemberOfCollection relationship--> |
||||
<relationship>isMemberOfCollection</relationship> |
||||
<search_terms> |
||||
<relationship>isMemberOfCollection</relationship> |
||||
<search_terms> |
||||
<!--define what fields we can query as part of the advanced search for this collection--> |
||||
<default>dc.description</default> |
||||
<term> |
||||
<field>dc.title</field> |
||||
<value>dc.title</value> |
||||
</term> |
||||
<term> |
||||
<field>dc.creator</field> |
||||
<value>dc.creator</value> |
||||
</term> |
||||
<term> |
||||
<field>dc.description</field> |
||||
<value>dc.description</value> |
||||
</term> |
||||
<term> |
||||
<field>dc.date</field> |
||||
<value>dc.date</value> |
||||
</term> |
||||
<term> |
||||
<field>dc.identifier</field> |
||||
<value>dc.identifier</value> |
||||
</term> |
||||
<term> |
||||
<field>dc.language</field> |
||||
<value>dc.language</value> |
||||
</term> |
||||
<term> |
||||
<field>dc.publisher</field> |
||||
<value>dc.publisher</value> |
||||
</term> |
||||
<term> |
||||
<field>dc.rights</field> |
||||
<value>dc.rights</value> |
||||
</term> |
||||
<term> |
||||
<field>dc.subject</field> |
||||
<value>dc.subject</value> |
||||
</term> |
||||
<term> |
||||
<field>dc.relation</field> |
||||
<value>dc.relation</value> |
||||
</term> |
||||
<term> |
||||
<field>dcterms.temporal</field> |
||||
<value>dcterms.temporal</value> |
||||
</term> |
||||
<term> |
||||
<field>dcterms.spatial</field> |
||||
<value>dcterms.spatial</value> |
||||
</term> |
||||
<term> |
||||
<field>fgs.DS.first.text</field> |
||||
<value>Full Text</value> |
||||
</term> |
||||
</search_terms> |
||||
<default>dc.description</default> |
||||
<term> |
||||
<field>dc.title</field> |
||||
<value>dc.title</value> |
||||
</term> |
||||
<term> |
||||
<field>dc.creator</field> |
||||
<value>dc.creator</value> |
||||
</term> |
||||
<term> |
||||
<field>dc.description</field> |
||||
<value>dc.description</value> |
||||
</term> |
||||
<term> |
||||
<field>dc.date</field> |
||||
<value>dc.date</value> |
||||
</term> |
||||
<term> |
||||
<field>dc.identifier</field> |
||||
<value>dc.identifier</value> |
||||
</term> |
||||
<term> |
||||
<field>dc.language</field> |
||||
<value>dc.language</value> |
||||
</term> |
||||
<term> |
||||
<field>dc.publisher</field> |
||||
<value>dc.publisher</value> |
||||
</term> |
||||
<term> |
||||
<field>dc.rights</field> |
||||
<value>dc.rights</value> |
||||
</term> |
||||
<term> |
||||
<field>dc.subject</field> |
||||
<value>dc.subject</value> |
||||
</term> |
||||
<term> |
||||
<field>dc.relation</field> |
||||
<value>dc.relation</value> |
||||
</term> |
||||
<term> |
||||
<field>dcterms.temporal</field> |
||||
<value>dcterms.temporal</value> |
||||
</term> |
||||
<term> |
||||
<field>dcterms.spatial</field> |
||||
<value>dcterms.spatial</value> |
||||
</term> |
||||
<term> |
||||
<field>fgs.DS.first.text</field> |
||||
<value>Full Text</value> |
||||
</term> |
||||
</search_terms> |
||||
</collection_policy> |
||||
|
@ -1,35 +1,48 @@
|
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<collection_policy xmlns="http://www.islandora.ca" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="" xsi:schemaLocation="http://www.islandora.ca http://syn.lib.umanitoba.ca/collection_policy.xsd"> |
||||
<content_models> |
||||
<content_model name="Video" dsid="ISLANDORACM" namespace="islandora" pid="islandora:qtCModel"/> |
||||
</content_models> |
||||
<search_terms> |
||||
<term field="dc.title"> |
||||
dc.title</term> |
||||
<term field="dc.creator"> |
||||
dc.creator</term> |
||||
<term field="dc.description" default="true"> |
||||
dc.description</term> |
||||
<term field="dc.date"> |
||||
dc.date</term> |
||||
<term field="dc.identifier"> |
||||
dc.identifier</term> |
||||
<term field="dc.language"> |
||||
dc.language</term> |
||||
<term field="dc.publisher"> |
||||
dc.publisher</term> |
||||
<term field="dc.rights"> |
||||
dc.rights</term> |
||||
<term field="dc.subject"> |
||||
dc.subject</term> |
||||
<term field="dc.relation"> |
||||
dc.relation</term> |
||||
<term field="dcterms.temporal"> |
||||
dcterms.temporal</term> |
||||
<term field="dcterms.spatial"> |
||||
dcterms.spatial</term> |
||||
</search_terms> |
||||
<relationship> |
||||
isMemberOfCollection</relationship> |
||||
</collection_policy> |
||||
<collection_policy xmlns="http://www.islandora.ca" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="" xsi:schemaLocation="http://www.islandora.ca http://syn.lib.umanitoba.ca/collection_policy.xsd"> |
||||
<content_models> |
||||
<content_model name="Video" dsid="ISLANDORACM" namespace="islandora" pid="islandora:qtCModel"/> |
||||
</content_models> |
||||
<search_terms> |
||||
<term field="dc.title"> |
||||
dc.title |
||||
</term> |
||||
<term field="dc.creator"> |
||||
dc.creator |
||||
</term> |
||||
<term field="dc.description" default="true"> |
||||
dc.description |
||||
</term> |
||||
<term field="dc.date"> |
||||
dc.date |
||||
</term> |
||||
<term field="dc.identifier"> |
||||
dc.identifier |
||||
</term> |
||||
<term field="dc.language"> |
||||
dc.language |
||||
</term> |
||||
<term field="dc.publisher"> |
||||
dc.publisher |
||||
</term> |
||||
<term field="dc.rights"> |
||||
dc.rights |
||||
</term> |
||||
<term field="dc.subject"> |
||||
dc.subject |
||||
</term> |
||||
<term field="dc.relation"> |
||||
dc.relation |
||||
</term> |
||||
<term field="dcterms.temporal"> |
||||
dcterms.temporal |
||||
</term> |
||||
<term field="dcterms.spatial"> |
||||
dcterms.spatial |
||||
</term> |
||||
</search_terms> |
||||
<relationship> |
||||
isMemberOfCollection |
||||
</relationship> |
||||
</collection_policy> |
||||
|
||||
|
@ -1,47 +1,48 @@
|
||||
|
||||
<xsd:schema xmlns="http://www.islandora.ca" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.islandora.ca" elementFormDefault="qualified" > |
||||
<xsd:annotation> |
||||
<xsd:documentation xml:lang="en"> |
||||
<xsd:annotation> |
||||
<xsd:documentation xml:lang="en"> |
||||
Islandora Collection Policy Schema |
||||
Islandora, Robertson Library, University of Prince Edward Island, 550 University Ave., Charlottetown, Prince Edward Island |
||||
</xsd:documentation> |
||||
</xsd:annotation> |
||||
</xsd:documentation> |
||||
</xsd:annotation> |
||||
|
||||
<xsd:element name="collection_policy" type="collection_policyType"/> |
||||
<xsd:complexType name="collection_policyType"> |
||||
<xsd:all> |
||||
<xsd:element name="content_models" type="content_modelsType"/> |
||||
<xsd:element name="search_terms" type="search_termsType"/> |
||||
<xsd:element name="relationship" type="xsd:string"/> |
||||
<xsd:element name="staging_area" type="xsd:string" minOccurs="0" maxOccurs="1"/> |
||||
</xsd:all> |
||||
<xsd:attribute name="name" type="xsd:normalizedString" use="required"/> |
||||
</xsd:complexType> |
||||
<xsd:element name="collection_policy" type="collection_policyType"/> |
||||
<xsd:complexType name="collection_policyType"> |
||||
<xsd:all> |
||||
<xsd:element name="content_models" type="content_modelsType"/> |
||||
<xsd:element name="search_terms" type="search_termsType"/> |
||||
<xsd:element name="relationship" type="xsd:string"/> |
||||
<xsd:element name="staging_area" type="xsd:string" minOccurs="0" maxOccurs="1"/> |
||||
</xsd:all> |
||||
<xsd:attribute name="name" type="xsd:normalizedString" use="required"/> |
||||
</xsd:complexType> |
||||
|
||||
<xsd:complexType name="content_modelsType"> |
||||
<xsd:sequence> |
||||
<xsd:element name="content_model" type="content_modelType" minOccurs="1" maxOccurs="unbounded"/> |
||||
</xsd:sequence> |
||||
</xsd:complexType> |
||||
<xsd:complexType name="content_modelsType"> |
||||
<xsd:sequence> |
||||
<xsd:element name="content_model" type="content_modelType" minOccurs="1" maxOccurs="unbounded"/> |
||||
</xsd:sequence> |
||||
</xsd:complexType> |
||||
|
||||
<xsd:complexType name="content_modelType"> |
||||
<xsd:attribute name="name" type="xsd:normalizedString" use="required"/> |
||||
<xsd:attribute name="dsid" type="xsd:normalizedString" use="required"/> |
||||
<xsd:attribute name="namespace" type="xsd:normalizedString" use="required"/> |
||||
<xsd:attribute name="pid" type="xsd:normalizedString" use="required"/> |
||||
</xsd:complexType> |
||||
<xsd:complexType name="content_modelType"> |
||||
<xsd:attribute name="name" type="xsd:normalizedString" use="required"/> |
||||
<xsd:attribute name="dsid" type="xsd:normalizedString" use="required"/> |
||||
<xsd:attribute name="namespace" type="xsd:normalizedString" use="required"/> |
||||
<xsd:attribute name="pid" type="xsd:normalizedString" use="required"/> |
||||
</xsd:complexType> |
||||
|
||||
<xsd:complexType name="search_termsType"> |
||||
<xsd:sequence> |
||||
<xsd:element name="term" type="termType" minOccurs="0" maxOccurs="unbounded"/> |
||||
</xsd:sequence> |
||||
</xsd:complexType> |
||||
<xsd:complexType name="search_termsType"> |
||||
<xsd:sequence> |
||||
<xsd:element name="term" type="termType" minOccurs="0" maxOccurs="unbounded"/> |
||||
</xsd:sequence> |
||||
</xsd:complexType> |
||||
|
||||
<xsd:complexType name="termType"> |
||||
<xsd:simpleContent> |
||||
<xsd:extension base="xsd:string"> |
||||
<xsd:attribute name="field" type="xsd:string" use="optional"/> |
||||
<xsd:attribute name="default" type="xsd:boolean" default="false"/> |
||||
</xsd:extension> |
||||
</xsd:simpleContent> |
||||
</xsd:complexType> |
||||
<xsd:complexType name="termType"> |
||||
<xsd:simpleContent> |
||||
<xsd:extension base="xsd:string"> |
||||
<xsd:attribute name="field" type="xsd:string" use="optional"/> |
||||
<xsd:attribute name="default" type="xsd:boolean" default="false"/> |
||||
</xsd:extension> |
||||
</xsd:simpleContent> |
||||
</xsd:complexType> |
||||
</xsd:schema> |
@ -1,264 +1,264 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:s="http://www.w3.org/2001/sw/DataAccess/rf1/result" version="1.0"> |
||||
<!-- Red and White XSLT --> |
||||
<xsl:variable name="BASEURL"> |
||||
<xsl:value-of select="$baseUrl"/> |
||||
</xsl:variable> |
||||
<xsl:variable name="PATH"> |
||||
<xsl:value-of select="$path"/> |
||||
</xsl:variable> |
||||
<xsl:variable name="thisPid" select="$collectionPid"/> |
||||
<xsl:variable name="thisTitle" select="$collectionTitle"/> |
||||
<xsl:variable name="size" select="20"/> |
||||
<xsl:variable name="page" select="$hitPage"/> |
||||
<xsl:variable name="start" select="((number($page) - 1) * number($size)) + 1"/> |
||||
<xsl:variable name="end" select="($start - 1) + number($size)"/> |
||||
<xsl:variable name="cellsPerRow" select="4"/> |
||||
<xsl:variable name="count" select="count(s:sparql/s:results/s:result)"/> |
||||
<xsl:template match="/"> |
||||
<xsl:if test="$count>0"> |
||||
<table cellpadding="3" cellspacing="3"> |
||||
<tr> |
||||
<td colspan="{$cellsPerRow}"> |
||||
<div align="center"> |
||||
<xsl:choose> |
||||
<xsl:when test="$end >= $count and $start = 1"> |
||||
<xsl:value-of select="$start"/>- |
||||
<xsl:value-of select="$count"/> |
||||
<xsl:variable name="BASEURL"> |
||||
<xsl:value-of select="$baseUrl"/> |
||||
</xsl:variable> |
||||
<xsl:variable name="PATH"> |
||||
<xsl:value-of select="$path"/> |
||||
</xsl:variable> |
||||
<xsl:variable name="thisPid" select="$collectionPid"/> |
||||
<xsl:variable name="thisTitle" select="$collectionTitle"/> |
||||
<xsl:variable name="size" select="20"/> |
||||
<xsl:variable name="page" select="$hitPage"/> |
||||
<xsl:variable name="start" select="((number($page) - 1) * number($size)) + 1"/> |
||||
<xsl:variable name="end" select="($start - 1) + number($size)"/> |
||||
<xsl:variable name="cellsPerRow" select="4"/> |
||||
<xsl:variable name="count" select="count(s:sparql/s:results/s:result)"/> |
||||
<xsl:template match="/"> |
||||
<xsl:if test="$count>0"> |
||||
<table cellpadding="3" cellspacing="3"> |
||||
<tr> |
||||
<td colspan="{$cellsPerRow}"> |
||||
<div align="center"> |
||||
<xsl:choose> |
||||
<xsl:when test="$end >= $count and $start = 1"> |
||||
<xsl:value-of select="$start"/>- |
||||
<xsl:value-of select="$count"/> |
||||
of |
||||
<xsl:value-of select="$count"/>  |
||||
<br /> |
||||
</xsl:when> |
||||
<xsl:when test="$end >= $count"> |
||||
<xsl:value-of select="$start"/>- |
||||
<xsl:value-of select="$count"/> |
||||
<xsl:value-of select="$count"/>  |
||||
<br /> |
||||
</xsl:when> |
||||
<xsl:when test="$end >= $count"> |
||||
<xsl:value-of select="$start"/>- |
||||
<xsl:value-of select="$count"/> |
||||
of |
||||
<xsl:value-of select="$count"/>  |
||||
<br /> |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:value-of select="$thisPid"/>/-/ |
||||
<xsl:value-of select="$thisTitle"/>/ |
||||
<xsl:value-of select="$page - 1"/> |
||||
</xsl:attribute> |
||||
<xsl:value-of select="$count"/>  |
||||
<br /> |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:value-of select="$thisPid"/>/-/ |
||||
<xsl:value-of select="$thisTitle"/>/ |
||||
<xsl:value-of select="$page - 1"/> |
||||
</xsl:attribute> |
||||
<<Prev |
||||
</a> |
||||
</xsl:when> |
||||
<xsl:when test="$start = 1"> |
||||
<xsl:value-of select="$start"/>- |
||||
<xsl:value-of select="$end"/> |
||||
</a> |
||||
</xsl:when> |
||||
<xsl:when test="$start = 1"> |
||||
<xsl:value-of select="$start"/>- |
||||
<xsl:value-of select="$end"/> |
||||
of |
||||
<xsl:value-of select="$count"/>  |
||||
<br /> |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:value-of select="$thisPid"/>/-/ |
||||
<xsl:value-of select="$thisTitle"/>/ |
||||
<xsl:value-of select="$page + 1"/> |
||||
</xsl:attribute> |
||||
<xsl:value-of select="$count"/>  |
||||
<br /> |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:value-of select="$thisPid"/>/-/ |
||||
<xsl:value-of select="$thisTitle"/>/ |
||||
<xsl:value-of select="$page + 1"/> |
||||
</xsl:attribute> |
||||
Next>> |
||||
</a> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:value-of select="$start"/>- |
||||
<xsl:value-of select="$end"/> |
||||
</a> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:value-of select="$start"/>- |
||||
<xsl:value-of select="$end"/> |
||||
of |
||||
<xsl:value-of select="$count"/>  |
||||
<br /> |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:value-of select="$thisPid"/>/-/ |
||||
<xsl:value-of select="$thisTitle"/>/ |
||||
<xsl:value-of select="$page - 1"/> |
||||
</xsl:attribute> |
||||
<xsl:value-of select="$count"/>  |
||||
<br /> |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:value-of select="$thisPid"/>/-/ |
||||
<xsl:value-of select="$thisTitle"/>/ |
||||
<xsl:value-of select="$page - 1"/> |
||||
</xsl:attribute> |
||||
<<Prev |
||||
</a>  |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:value-of select="$thisPid"/>/-/ |
||||
<xsl:value-of select="$thisTitle"/>/ |
||||
<xsl:value-of select="$page + 1"/> |
||||
</xsl:attribute> |
||||
</a>  |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:value-of select="$thisPid"/>/-/ |
||||
<xsl:value-of select="$thisTitle"/>/ |
||||
<xsl:value-of select="$page + 1"/> |
||||
</xsl:attribute> |
||||
Next>> |
||||
</a> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</div> |
||||
</a> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</div> |
||||
<br clear="all" /> |
||||
</td> |
||||
</tr> |
||||
<xsl:apply-templates select="s:sparql/s:results"/> |
||||
</table> |
||||
<br clear="all" /> |
||||
</td> |
||||
</tr> |
||||
<xsl:apply-templates select="s:sparql/s:results"/> |
||||
</table> |
||||
<br clear="all" /> |
||||
<div align="center"> |
||||
<xsl:choose> |
||||
<xsl:when test="$end >= $count and $start = 1"> |
||||
<xsl:value-of select="$start"/>- |
||||
<xsl:value-of select="$count"/> |
||||
<div align="center"> |
||||
<xsl:choose> |
||||
<xsl:when test="$end >= $count and $start = 1"> |
||||
<xsl:value-of select="$start"/>- |
||||
<xsl:value-of select="$count"/> |
||||
of |
||||
<xsl:value-of select="$count"/>  |
||||
<br /> |
||||
</xsl:when> |
||||
<xsl:when test="$end >= $count"> |
||||
<xsl:value-of select="$start"/>- |
||||
<xsl:value-of select="$count"/> |
||||
<xsl:value-of select="$count"/>  |
||||
<br /> |
||||
</xsl:when> |
||||
<xsl:when test="$end >= $count"> |
||||
<xsl:value-of select="$start"/>- |
||||
<xsl:value-of select="$count"/> |
||||
of |
||||
<xsl:value-of select="$count"/>  |
||||
<br /> |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:value-of select="$thisPid"/>/-/ |
||||
<xsl:value-of select="$thisTitle"/>/ |
||||
<xsl:value-of select="$page - 1"/> |
||||
</xsl:attribute> |
||||
<xsl:value-of select="$count"/>  |
||||
<br /> |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:value-of select="$thisPid"/>/-/ |
||||
<xsl:value-of select="$thisTitle"/>/ |
||||
<xsl:value-of select="$page - 1"/> |
||||
</xsl:attribute> |
||||
<<Prev |
||||
</a> |
||||
</xsl:when> |
||||
<xsl:when test="$start = 1"> |
||||
<xsl:value-of select="$start"/>- |
||||
<xsl:value-of select="$end"/> |
||||
</a> |
||||
</xsl:when> |
||||
<xsl:when test="$start = 1"> |
||||
<xsl:value-of select="$start"/>- |
||||
<xsl:value-of select="$end"/> |
||||
of |
||||
<xsl:value-of select="$count"/>  |
||||
<br /> |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:value-of select="$thisPid"/>/-/ |
||||
<xsl:value-of select="$thisTitle"/>/ |
||||
<xsl:value-of select="$page + 1"/> |
||||
</xsl:attribute> |
||||
<xsl:value-of select="$count"/>  |
||||
<br /> |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:value-of select="$thisPid"/>/-/ |
||||
<xsl:value-of select="$thisTitle"/>/ |
||||
<xsl:value-of select="$page + 1"/> |
||||
</xsl:attribute> |
||||
Next>> |
||||
</a> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:value-of select="$start"/>- |
||||
<xsl:value-of select="$end"/> |
||||
</a> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:value-of select="$start"/>- |
||||
<xsl:value-of select="$end"/> |
||||
of |
||||
<xsl:value-of select="$count"/>  |
||||
<br /> |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:value-of select="$thisPid"/>/-/ |
||||
<xsl:value-of select="$thisTitle"/>/ |
||||
<xsl:value-of select="$page - 1"/> |
||||
</xsl:attribute> |
||||
<xsl:value-of select="$count"/>  |
||||
<br /> |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:value-of select="$thisPid"/>/-/ |
||||
<xsl:value-of select="$thisTitle"/>/ |
||||
<xsl:value-of select="$page - 1"/> |
||||
</xsl:attribute> |
||||
<<Prev |
||||
</a>  |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:value-of select="$thisPid"/>/-/ |
||||
<xsl:value-of select="$thisTitle"/>/ |
||||
<xsl:value-of select="$page + 1"/> |
||||
</xsl:attribute> |
||||
</a>  |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:value-of select="$thisPid"/>/-/ |
||||
<xsl:value-of select="$thisTitle"/>/ |
||||
<xsl:value-of select="$page + 1"/> |
||||
</xsl:attribute> |
||||
Next>> |
||||
</a> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</div> |
||||
</xsl:if> |
||||
</xsl:template> |
||||
<xsl:template match="s:sparql/s:results"> |
||||
<xsl:for-each select="s:result[position() mod $cellsPerRow = 1 and position()>=$start and position() <=$end]"> |
||||
<tr> |
||||
<xsl:apply-templates select=". | following-sibling::s:result[position() < $cellsPerRow]"/> |
||||
</tr> |
||||
</xsl:for-each> |
||||
</xsl:template> |
||||
<xsl:template match="s:result"> |
||||
<xsl:variable name='OBJECTURI' select="s:object/@uri"/> |
||||
<xsl:variable name='PID' select="substring-after($OBJECTURI,'/')"/> |
||||
<xsl:variable name="newTitle" > |
||||
<xsl:call-template name="replace-string"> |
||||
<xsl:with-param name="text" select="s:title"/> |
||||
<xsl:with-param name="from" select="'_'"/> |
||||
<xsl:with-param name="to" select="' '"/> |
||||
</xsl:call-template> |
||||
</xsl:variable> |
||||
<xsl:variable name="linkUrl"> |
||||
<xsl:choose> |
||||
<xsl:when test="(content='Collection' or content='Community')"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:copy-of select="$PID"/>/-/ |
||||
<xsl:value-of select="s:title"/> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:copy-of select="$PID"/>/ |
||||
<xsl:value-of select="s:title"/>/ |
||||
<xsl:value-of select="s:title"/> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</xsl:variable> |
||||
<td valign="top" width="25%"> |
||||
</a> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</div> |
||||
</xsl:if> |
||||
</xsl:template> |
||||
<xsl:template match="s:sparql/s:results"> |
||||
<xsl:for-each select="s:result[position() mod $cellsPerRow = 1 and position()>=$start and position() <=$end]"> |
||||
<tr> |
||||
<xsl:apply-templates select=". | following-sibling::s:result[position() < $cellsPerRow]"/> |
||||
</tr> |
||||
</xsl:for-each> |
||||
</xsl:template> |
||||
<xsl:template match="s:result"> |
||||
<xsl:variable name='OBJECTURI' select="s:object/@uri"/> |
||||
<xsl:variable name='PID' select="substring-after($OBJECTURI,'/')"/> |
||||
<xsl:variable name="newTitle" > |
||||
<xsl:call-template name="replace-string"> |
||||
<xsl:with-param name="text" select="s:title"/> |
||||
<xsl:with-param name="from" select="'_'"/> |
||||
<xsl:with-param name="to" select="' '"/> |
||||
</xsl:call-template> |
||||
</xsl:variable> |
||||
<xsl:variable name="linkUrl"> |
||||
<xsl:choose> |
||||
<xsl:when test="(content='Collection' or content='Community')"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:copy-of select="$PID"/>/-/ |
||||
<xsl:value-of select="s:title"/> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:copy-of select="$PID"/>/ |
||||
<xsl:value-of select="s:title"/>/ |
||||
<xsl:value-of select="s:title"/> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</xsl:variable> |
||||
<td valign="top" width="25%"> |
||||
|
||||
<img> |
||||
<xsl:attribute name="src"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:value-of select="$PID"/>/TN |
||||
</xsl:attribute> |
||||
</img> |
||||
<br clear="all" /> |
||||
<img> |
||||
<xsl:attribute name="src"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:value-of select="$PID"/>/TN |
||||
</xsl:attribute> |
||||
</img> |
||||
<br clear="all" /> |
||||
|
||||
|
||||
<xsl:value-of select="$newTitle"/> |
||||
<xsl:value-of select="$newTitle"/> |
||||
|
||||
<xsl:if test="($CONTENTMODEL!='islandora:collectionCModel')"> |
||||
<br />-- |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:copy-of select="$PID"/>/-/ |
||||
<xsl:value-of select="s:title"/> |
||||
</xsl:attribute> |
||||
<xsl:if test="($CONTENTMODEL!='islandora:collectionCModel')"> |
||||
<br />-- |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:copy-of select="$PID"/>/-/ |
||||
<xsl:value-of select="s:title"/> |
||||
</xsl:attribute> |
||||
DETAILS |
||||
</a>-- |
||||
</xsl:if> |
||||
</td> |
||||
<xsl:if test="(position() = last()) and (position() < $cellsPerRow)"> |
||||
<xsl:call-template name="FillerCells"> |
||||
<xsl:with-param name="cellCount" select="$cellsPerRow - position()"/> |
||||
</xsl:call-template> |
||||
</xsl:if> |
||||
</xsl:template> |
||||
<xsl:template name="FillerCells"> |
||||
<xsl:param name="cellCount"/> |
||||
<td> </td> |
||||
<xsl:if test="$cellCount > 1"> |
||||
<xsl:call-template name="FillerCells"> |
||||
<xsl:with-param name="cellCount" select="$cellCount - 1"/> |
||||
</xsl:call-template> |
||||
</xsl:if> |
||||
</xsl:template> |
||||
<xsl:template name="replace-string"> |
||||
<xsl:param name="text"/> |
||||
<xsl:param name="from"/> |
||||
<xsl:param name="to"/> |
||||
</a>-- |
||||
</xsl:if> |
||||
</td> |
||||
<xsl:if test="(position() = last()) and (position() < $cellsPerRow)"> |
||||
<xsl:call-template name="FillerCells"> |
||||
<xsl:with-param name="cellCount" select="$cellsPerRow - position()"/> |
||||
</xsl:call-template> |
||||
</xsl:if> |
||||
</xsl:template> |
||||
<xsl:template name="FillerCells"> |
||||
<xsl:param name="cellCount"/> |
||||
<td> </td> |
||||
<xsl:if test="$cellCount > 1"> |
||||
<xsl:call-template name="FillerCells"> |
||||
<xsl:with-param name="cellCount" select="$cellCount - 1"/> |
||||
</xsl:call-template> |
||||
</xsl:if> |
||||
</xsl:template> |
||||
<xsl:template name="replace-string"> |
||||
<xsl:param name="text"/> |
||||
<xsl:param name="from"/> |
||||
<xsl:param name="to"/> |
||||
|
||||
<xsl:choose> |
||||
<xsl:when test="contains($text, $from)"> |
||||
<xsl:choose> |
||||
<xsl:when test="contains($text, $from)"> |
||||
|
||||
<xsl:variable name="before" select="substring-before($text, $from)"/> |
||||
<xsl:variable name="after" select="substring-after($text, $from)"/> |
||||
<xsl:variable name="prefix" select="concat($before, $to)"/> |
||||
<xsl:variable name="before" select="substring-before($text, $from)"/> |
||||
<xsl:variable name="after" select="substring-after($text, $from)"/> |
||||
<xsl:variable name="prefix" select="concat($before, $to)"/> |
||||
|
||||
<xsl:value-of select="$before"/> |
||||
<xsl:value-of select="$to"/> |
||||
<xsl:call-template name="replace-string"> |
||||
<xsl:with-param name="text" select="$after"/> |
||||
<xsl:with-param name="from" select="$from"/> |
||||
<xsl:with-param name="to" select="$to"/> |
||||
</xsl:call-template> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:value-of select="$text"/> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</xsl:template> |
||||
<xsl:value-of select="$before"/> |
||||
<xsl:value-of select="$to"/> |
||||
<xsl:call-template name="replace-string"> |
||||
<xsl:with-param name="text" select="$after"/> |
||||
<xsl:with-param name="from" select="$from"/> |
||||
<xsl:with-param name="to" select="$to"/> |
||||
</xsl:call-template> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:value-of select="$text"/> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</xsl:template> |
||||
</xsl:stylesheet> |
@ -1,67 +1,69 @@
|
||||
|
||||
<xsl:stylesheet version="1.0" xmlns:s="http://www.w3.org/2001/sw/DataAccess/rf1/result" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> |
||||
<xsl:template match="/"> |
||||
<xsl:variable name="BASEURL"> |
||||
<xsl:value-of select="$baseUrl"/> |
||||
</xsl:variable> |
||||
<xsl:variable name="collTitle" select="/s:sparql/s:results/s:result/s:collTitle"/> |
||||
<xsl:variable name="collDesc" select="/s:sparql/s:results/s:result/s:collDesc"/> |
||||
<xsl:template match="/"> |
||||
<xsl:variable name="BASEURL"> |
||||
<xsl:value-of select="$baseUrl"/> |
||||
</xsl:variable> |
||||
<xsl:variable name="collTitle" select="/s:sparql/s:results/s:result/s:collTitle"/> |
||||
<xsl:variable name="collDesc" select="/s:sparql/s:results/s:result/s:collDesc"/> |
||||
|
||||
<center> |
||||
<font face="arial,helvetica"> |
||||
<h2> |
||||
<xsl:value-of select="$collTitle"/> |
||||
<br/> |
||||
<i> |
||||
<xsl:value-of select="$collDesc"/> |
||||
</i> |
||||
</h2> |
||||
</font> |
||||
<font face="arial,helvetica"> |
||||
<h2> |
||||
<xsl:value-of select="$collTitle"/> |
||||
<br/> |
||||
<i> |
||||
<xsl:value-of select="$collDesc"/> |
||||
</i> |
||||
</h2> |
||||
</font> |
||||
</center> |
||||
<hr size="1"/> |
||||
<center> |
||||
<table border="0" cellpadding="5"> |
||||
<xsl:for-each select="/s:sparql/s:results/s:result"> |
||||
<xsl:variable name="pid" select="substring-after(s:member/@uri, '/')"/> |
||||
<tr> |
||||
<td> |
||||
<center> |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/> |
||||
<xsl:text>/fedora/repository/</xsl:text> |
||||
<xsl:value-of select="$pid"/> |
||||
<xsl:text>/FULL_SIZE</xsl:text> |
||||
</xsl:attribute> |
||||
<img height="120" width="160"> |
||||
<xsl:attribute name="src"> |
||||
<xsl:value-of select="$BASEURL"/> |
||||
<xsl:text>/fedora/repository/</xsl:text> |
||||
<xsl:value-of select="$pid"/> |
||||
<xsl:text>/MEDIUM_SIZE</xsl:text> |
||||
</xsl:attribute> |
||||
</img> |
||||
<br/> |
||||
<table border="0" cellpadding="5"> |
||||
<xsl:for-each select="/s:sparql/s:results/s:result"> |
||||
<xsl:variable name="pid" select="substring-after(s:member/@uri, '/')"/> |
||||
<tr> |
||||
<td> |
||||
<center> |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/> |
||||
<xsl:text>/fedora/repository/</xsl:text> |
||||
<xsl:value-of select="$pid"/> |
||||
<xsl:text>/FULL_SIZE</xsl:text> |
||||
</xsl:attribute> |
||||
<img height="120" width="160"> |
||||
<xsl:attribute name="src"> |
||||
<xsl:value-of select="$BASEURL"/> |
||||
<xsl:text>/fedora/repository/</xsl:text> |
||||
<xsl:value-of select="$pid"/> |
||||
<xsl:text>/MEDIUM_SIZE</xsl:text> |
||||
</xsl:attribute> |
||||
</img> |
||||
<br/> |
||||
( Full Size ) |
||||
</a> |
||||
</center> |
||||
</td> |
||||
<td> |
||||
<b> |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/> |
||||
<xsl:text>/fedora/repository/</xsl:text> |
||||
<xsl:value-of select="$pid"/>/-/<xsl:value-of select="s:memberTitle"/> |
||||
</xsl:attribute> |
||||
<xsl:value-of select="s:memberTitle"/> |
||||
</a> |
||||
</b> |
||||
<br/> |
||||
<xsl:value-of select="s:memberDesc"/> |
||||
</td> |
||||
</tr> |
||||
</xsl:for-each> |
||||
</table> |
||||
</a> |
||||
</center> |
||||
</td> |
||||
<td> |
||||
<b> |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/> |
||||
<xsl:text>/fedora/repository/</xsl:text> |
||||
<xsl:value-of select="$pid"/>/-/ |
||||
<xsl:value-of select="s:memberTitle"/> |
||||
</xsl:attribute> |
||||
<xsl:value-of select="s:memberTitle"/> |
||||
</a> |
||||
</b> |
||||
<br/> |
||||
<xsl:value-of select="s:memberDesc"/> |
||||
</td> |
||||
</tr> |
||||
</xsl:for-each> |
||||
</table> |
||||
</center> |
||||
</xsl:template> |
||||
</xsl:template> |
||||
</xsl:stylesheet> |
||||
|
@ -1,64 +1,66 @@
|
||||
|
||||
<xsl:stylesheet version="1.0" xmlns:s="http://www.w3.org/2001/sw/DataAccess/rf1/result" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> |
||||
<xsl:template match="/"> |
||||
<xsl:variable name="BASEURL"> |
||||
<xsl:value-of select="$baseUrl"/> |
||||
</xsl:variable> |
||||
<xsl:variable name="collTitle" select="/s:sparql/s:results/s:result/s:collTitle"/> |
||||
<xsl:variable name="collDesc" select="/s:sparql/s:results/s:result/s:collDesc"/> |
||||
<xsl:template match="/"> |
||||
<xsl:variable name="BASEURL"> |
||||
<xsl:value-of select="$baseUrl"/> |
||||
</xsl:variable> |
||||
<xsl:variable name="collTitle" select="/s:sparql/s:results/s:result/s:collTitle"/> |
||||
<xsl:variable name="collDesc" select="/s:sparql/s:results/s:result/s:collDesc"/> |
||||
|
||||
<center> |
||||
<font face="arial,helvetica"> |
||||
<h2> |
||||
<xsl:value-of select="$collTitle"/> |
||||
<br/> |
||||
<i> |
||||
<xsl:value-of select="$collDesc"/> |
||||
</i> |
||||
</h2> |
||||
</font> |
||||
<font face="arial,helvetica"> |
||||
<h2> |
||||
<xsl:value-of select="$collTitle"/> |
||||
<br/> |
||||
<i> |
||||
<xsl:value-of select="$collDesc"/> |
||||
</i> |
||||
</h2> |
||||
</font> |
||||
</center> |
||||
<hr size="1"/> |
||||
<center> |
||||
<table border="0" cellpadding="5"> |
||||
<xsl:for-each select="/s:sparql/s:results/s:result"> |
||||
<xsl:variable name="pid" select="substring-after(s:member/@uri, '/')"/> |
||||
<tr> |
||||
<td> |
||||
<center> |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/> |
||||
<xsl:text>/fedora/repository/</xsl:text> |
||||
<xsl:value-of select="$pid"/> |
||||
</xsl:attribute> |
||||
<img height="120" width="160"> |
||||
<xsl:attribute name="src"> |
||||
<xsl:value-of select="$BASEURL"/> |
||||
<xsl:text>/fedora/repository/</xsl:text> |
||||
<xsl:value-of select="$pid"/> |
||||
<xsl:text>/THUMBNAIL</xsl:text> |
||||
</xsl:attribute> |
||||
</img> |
||||
</a> |
||||
</center> |
||||
</td> |
||||
<td> |
||||
<b> |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/> |
||||
<xsl:text>/fedora/repository/</xsl:text> |
||||
<xsl:value-of select="$pid"/>/-/<xsl:value-of select="s:memberTitle"/> |
||||
</xsl:attribute> |
||||
<xsl:value-of select="s:memberTitle"/> |
||||
</a> |
||||
</b> |
||||
<br/> |
||||
<xsl:value-of select="s:memberDesc"/> |
||||
</td> |
||||
</tr> |
||||
</xsl:for-each> |
||||
</table> |
||||
<table border="0" cellpadding="5"> |
||||
<xsl:for-each select="/s:sparql/s:results/s:result"> |
||||
<xsl:variable name="pid" select="substring-after(s:member/@uri, '/')"/> |
||||
<tr> |
||||
<td> |
||||
<center> |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/> |
||||
<xsl:text>/fedora/repository/</xsl:text> |
||||
<xsl:value-of select="$pid"/> |
||||
</xsl:attribute> |
||||
<img height="120" width="160"> |
||||
<xsl:attribute name="src"> |
||||
<xsl:value-of select="$BASEURL"/> |
||||
<xsl:text>/fedora/repository/</xsl:text> |
||||
<xsl:value-of select="$pid"/> |
||||
<xsl:text>/THUMBNAIL</xsl:text> |
||||
</xsl:attribute> |
||||
</img> |
||||
</a> |
||||
</center> |
||||
</td> |
||||
<td> |
||||
<b> |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/> |
||||
<xsl:text>/fedora/repository/</xsl:text> |
||||
<xsl:value-of select="$pid"/>/-/ |
||||
<xsl:value-of select="s:memberTitle"/> |
||||
</xsl:attribute> |
||||
<xsl:value-of select="s:memberTitle"/> |
||||
</a> |
||||
</b> |
||||
<br/> |
||||
<xsl:value-of select="s:memberDesc"/> |
||||
</td> |
||||
</tr> |
||||
</xsl:for-each> |
||||
</table> |
||||
</center> |
||||
</xsl:template> |
||||
</xsl:template> |
||||
</xsl:stylesheet> |
||||
|
@ -1,124 +1,189 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> |
||||
<!-- DEFAULT XSLT FOR COLLECTIONS THAT DO NOT DEFINE THEIR OWN--> |
||||
<xsl:variable name="BASEURL"> |
||||
<xsl:value-of select="$baseUrl"/> |
||||
</xsl:variable> |
||||
<xsl:variable name="PATH"> |
||||
<xsl:value-of select="$path"/> |
||||
</xsl:variable> |
||||
<xsl:variable name="thisPid" select="$collectionPid"/> |
||||
<xsl:variable name="thisTitle" select="$collectionTitle"/> |
||||
<xsl:variable name="size" select="20"/> |
||||
<xsl:variable name="page" select="$hitPage"/> |
||||
<xsl:variable name="start" select="((number($page) - 1) * number($size)) + 1"/> |
||||
<xsl:variable name="end" select="($start - 1) + number($size)"/> |
||||
<xsl:variable name='columns' select="4"/> |
||||
<xsl:variable name="count" select="count(sparql/results/result)"/> |
||||
<xsl:template match="/"> |
||||
<xsl:if test="$count>0"> |
||||
<xsl:variable name="BASEURL"> |
||||
<xsl:value-of select="$baseUrl"/> |
||||
</xsl:variable> |
||||
<xsl:variable name="PATH"> |
||||
<xsl:value-of select="$path"/> |
||||
</xsl:variable> |
||||
<xsl:variable name="thisPid" select="$collectionPid"/> |
||||
<xsl:variable name="thisTitle" select="$collectionTitle"/> |
||||
<xsl:variable name="size" select="20"/> |
||||
<xsl:variable name="page" select="$hitPage"/> |
||||
<xsl:variable name="start" select="((number($page) - 1) * number($size)) + 1"/> |
||||
<xsl:variable name="end" select="($start - 1) + number($size)"/> |
||||
<xsl:variable name='columns' select="4"/> |
||||
<xsl:variable name="count" select="count(sparql/results/result)"/> |
||||
<xsl:template match="/"> |
||||
<xsl:if test="$count>0"> |
||||
|
||||
<table> |
||||
<tr><td colspan="2"> |
||||
<div align="center"> |
||||
<xsl:choose> |
||||
<xsl:when test="$end >= $count and $start = 1"> |
||||
<xsl:value-of select="$start"/>-<xsl:value-of select="$count"/> |
||||
of <xsl:value-of select="$count"/> <br /> |
||||
</xsl:when> |
||||
<xsl:when test="$end >= $count"> |
||||
<xsl:value-of select="$start"/>-<xsl:value-of select="$count"/> |
||||
of <xsl:value-of select="$count"/> <br /> |
||||
<a> |
||||
<xsl:attribute name="href"><xsl:value-of select="$BASEURL"/>/fedora/repository/<xsl:value-of select="$thisPid"/>/-/<xsl:value-of select="$thisTitle"/>/<xsl:value-of select="$page - 1"/> |
||||
</xsl:attribute> |
||||
<table> |
||||
<tr> |
||||
<td colspan="2"> |
||||
<div align="center"> |
||||
<xsl:choose> |
||||
<xsl:when test="$end >= $count and $start = 1"> |
||||
<xsl:value-of select="$start"/>- |
||||
<xsl:value-of select="$count"/> |
||||
of |
||||
<xsl:value-of select="$count"/>  |
||||
<br /> |
||||
</xsl:when> |
||||
<xsl:when test="$end >= $count"> |
||||
<xsl:value-of select="$start"/>- |
||||
<xsl:value-of select="$count"/> |
||||
of |
||||
<xsl:value-of select="$count"/>  |
||||
<br /> |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:value-of select="$thisPid"/>/-/ |
||||
<xsl:value-of select="$thisTitle"/>/ |
||||
<xsl:value-of select="$page - 1"/> |
||||
</xsl:attribute> |
||||
<<Prev |
||||
</a> |
||||
</xsl:when> |
||||
<xsl:when test="$start = 1"> |
||||
<xsl:value-of select="$start"/>-<xsl:value-of select="$end"/> |
||||
of <xsl:value-of select="$count"/> <br /> |
||||
<a> |
||||
<xsl:attribute name="href"><xsl:value-of select="$BASEURL"/>/fedora/repository/<xsl:value-of select="$thisPid"/>/-/<xsl:value-of select="$thisTitle"/>/<xsl:value-of select="$page + 1"/> |
||||
</xsl:attribute> |
||||
</a> |
||||
</xsl:when> |
||||
<xsl:when test="$start = 1"> |
||||
<xsl:value-of select="$start"/>- |
||||
<xsl:value-of select="$end"/> |
||||
of |
||||
<xsl:value-of select="$count"/>  |
||||
<br /> |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:value-of select="$thisPid"/>/-/ |
||||
<xsl:value-of select="$thisTitle"/>/ |
||||
<xsl:value-of select="$page + 1"/> |
||||
</xsl:attribute> |
||||
Next>> |
||||
</a> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:value-of select="$start"/>-<xsl:value-of select="$end"/> |
||||
of <xsl:value-of select="$count"/> <br /> |
||||
<a> |
||||
<xsl:attribute name="href"><xsl:value-of select="$BASEURL"/>/fedora/repository/<xsl:value-of select="$thisPid"/>/-/<xsl:value-of select="$thisTitle"/>/<xsl:value-of select="$page - 1"/> |
||||
</xsl:attribute> |
||||
</a> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:value-of select="$start"/>- |
||||
<xsl:value-of select="$end"/> |
||||
of |
||||
<xsl:value-of select="$count"/>  |
||||
<br /> |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:value-of select="$thisPid"/>/-/ |
||||
<xsl:value-of select="$thisTitle"/>/ |
||||
<xsl:value-of select="$page - 1"/> |
||||
</xsl:attribute> |
||||
<<Prev |
||||
</a>  |
||||
<a> |
||||
<xsl:attribute name="href"><xsl:value-of select="$BASEURL"/>/fedora/repository/<xsl:value-of select="$thisPid"/>/-/<xsl:value-of select="$thisTitle"/>/<xsl:value-of select="$page + 1"/> |
||||
</xsl:attribute> |
||||
</a>  |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:value-of select="$thisPid"/>/-/ |
||||
<xsl:value-of select="$thisTitle"/>/ |
||||
<xsl:value-of select="$page + 1"/> |
||||
</xsl:attribute> |
||||
Next>> |
||||
</a> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</div> |
||||
</td></tr> |
||||
<xsl:for-each select="/sparql/results/result[position()>=$start and position() <=$end]"> |
||||
<xsl:variable name='OBJECTURI' select="object/@uri"/> |
||||
<xsl:variable name='PID' select="substring-after($OBJECTURI,'/')"/> |
||||
<tr> |
||||
<td> |
||||
<img> |
||||
<xsl:attribute name="src"><xsl:value-of select="$BASEURL"/>/fedora/repository/<xsl:value-of select="$PID"/>/TN |
||||
</xsl:attribute> |
||||
</img> |
||||
</td><td> |
||||
<a> |
||||
<xsl:attribute name="href"><xsl:value-of select="$BASEURL"/>/fedora/repository/<xsl:copy-of select="$PID"/>/-/<xsl:value-of select="title"/> |
||||
</xsl:attribute> |
||||
<xsl:value-of select="title"/> |
||||
</a> |
||||
</td></tr> |
||||
</xsl:for-each> |
||||
</table> |
||||
<div align="center"> |
||||
<xsl:choose> |
||||
<xsl:when test="$end >= $count and $start = 1"> |
||||
<xsl:value-of select="$start"/>-<xsl:value-of select="$count"/> |
||||
of <xsl:value-of select="$count"/> <br /> |
||||
</xsl:when> |
||||
<xsl:when test="$end >= $count"> |
||||
<xsl:value-of select="$start"/>-<xsl:value-of select="$count"/> |
||||
of <xsl:value-of select="$count"/> <br /> |
||||
<a> |
||||
<xsl:attribute name="href"><xsl:value-of select="$BASEURL"/>/fedora/repository/<xsl:value-of select="$thisPid"/>/-/<xsl:value-of select="$thisTitle"/>/<xsl:value-of select="$page - 1"/> |
||||
</xsl:attribute> |
||||
</a> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</div> |
||||
</td> |
||||
</tr> |
||||
<xsl:for-each select="/sparql/results/result[position()>=$start and position() <=$end]"> |
||||
<xsl:variable name='OBJECTURI' select="object/@uri"/> |
||||
<xsl:variable name='PID' select="substring-after($OBJECTURI,'/')"/> |
||||
<tr> |
||||
<td> |
||||
<img> |
||||
<xsl:attribute name="src"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:value-of select="$PID"/>/TN |
||||
</xsl:attribute> |
||||
</img> |
||||
</td> |
||||
<td> |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:copy-of select="$PID"/>/-/ |
||||
<xsl:value-of select="title"/> |
||||
</xsl:attribute> |
||||
<xsl:value-of select="title"/> |
||||
</a> |
||||
</td> |
||||
</tr> |
||||
</xsl:for-each> |
||||
</table> |
||||
<div align="center"> |
||||
<xsl:choose> |
||||
<xsl:when test="$end >= $count and $start = 1"> |
||||
<xsl:value-of select="$start"/>- |
||||
<xsl:value-of select="$count"/> |
||||
of |
||||
<xsl:value-of select="$count"/>  |
||||
<br /> |
||||
</xsl:when> |
||||
<xsl:when test="$end >= $count"> |
||||
<xsl:value-of select="$start"/>- |
||||
<xsl:value-of select="$count"/> |
||||
of |
||||
<xsl:value-of select="$count"/>  |
||||
<br /> |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:value-of select="$thisPid"/>/-/ |
||||
<xsl:value-of select="$thisTitle"/>/ |
||||
<xsl:value-of select="$page - 1"/> |
||||
</xsl:attribute> |
||||
<<Prev |
||||
</a> |
||||
</xsl:when> |
||||
<xsl:when test="$start = 1"> |
||||
<xsl:value-of select="$start"/>-<xsl:value-of select="$end"/> |
||||
of <xsl:value-of select="$count"/> <br /> |
||||
<a> |
||||
<xsl:attribute name="href"><xsl:value-of select="$BASEURL"/>/fedora/repository/<xsl:value-of select="$thisPid"/>/-/<xsl:value-of select="$thisTitle"/>/<xsl:value-of select="$page + 1"/> |
||||
</xsl:attribute> |
||||
</a> |
||||
</xsl:when> |
||||
<xsl:when test="$start = 1"> |
||||
<xsl:value-of select="$start"/>- |
||||
<xsl:value-of select="$end"/> |
||||
of |
||||
<xsl:value-of select="$count"/>  |
||||
<br /> |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:value-of select="$thisPid"/>/-/ |
||||
<xsl:value-of select="$thisTitle"/>/ |
||||
<xsl:value-of select="$page + 1"/> |
||||
</xsl:attribute> |
||||
Next>> |
||||
</a> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:value-of select="$start"/>-<xsl:value-of select="$end"/> |
||||
of <xsl:value-of select="$count"/> <br /> |
||||
<a> |
||||
<xsl:attribute name="href"><xsl:value-of select="$BASEURL"/>/fedora/repository/<xsl:value-of select="$thisPid"/>/-/<xsl:value-of select="$thisTitle"/>/<xsl:value-of select="$page - 1"/> |
||||
</xsl:attribute> |
||||
</a> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:value-of select="$start"/>- |
||||
<xsl:value-of select="$end"/> |
||||
of |
||||
<xsl:value-of select="$count"/>  |
||||
<br /> |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:value-of select="$thisPid"/>/-/ |
||||
<xsl:value-of select="$thisTitle"/>/ |
||||
<xsl:value-of select="$page - 1"/> |
||||
</xsl:attribute> |
||||
<<Prev |
||||
</a>  |
||||
<a> |
||||
<xsl:attribute name="href"><xsl:value-of select="$BASEURL"/>/fedora/repository/<xsl:value-of select="$thisPid"/>/-/<xsl:value-of select="$thisTitle"/>/<xsl:value-of select="$page + 1"/> |
||||
</xsl:attribute> |
||||
</a>  |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:value-of select="$thisPid"/>/-/ |
||||
<xsl:value-of select="$thisTitle"/>/ |
||||
<xsl:value-of select="$page + 1"/> |
||||
</xsl:attribute> |
||||
Next>> |
||||
</a> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</div> |
||||
</xsl:if> |
||||
</xsl:template> |
||||
</a> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</div> |
||||
</xsl:if> |
||||
</xsl:template> |
||||
</xsl:stylesheet> |
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<oai_dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" |
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd"> |
||||
<dc:title>Demo Image Collection</dc:title> |
||||
<dc:identifier>islandora:demo_image_collection</dc:identifier> |
||||
<dc:description>Demo image collection</dc:description> |
||||
<dc:title>Demo Image Collection</dc:title> |
||||
<dc:identifier>islandora:demo_image_collection</dc:identifier> |
||||
<dc:description>Demo image collection</dc:description> |
||||
</oai_dc:dc> |
||||
|
@ -1,28 +1,30 @@
|
||||
|
||||
<xsl:stylesheet version="1.0" xmlns:s="http://www.w3.org/2001/sw/DataAccess/rf1/result" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> |
||||
<!-- simple list view for a itql query that looks queries for $object and $title only --> |
||||
<xsl:template match="/"> |
||||
<xsl:variable name="BASEURL"> |
||||
<xsl:value-of select="$baseUrl"/> |
||||
</xsl:variable> |
||||
<xsl:template match="/"> |
||||
<xsl:variable name="BASEURL"> |
||||
<xsl:value-of select="$baseUrl"/> |
||||
</xsl:variable> |
||||
|
||||
<ul> |
||||
<ul> |
||||
<xsl:for-each select="/s:sparql/s:results/s:result"> |
||||
<xsl:variable name="pid" select="substring-after(s:object/@uri, '/')"/> |
||||
<li> |
||||
<xsl:variable name="pid" select="substring-after(s:object/@uri, '/')"/> |
||||
<li> |
||||
|
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/> |
||||
<xsl:text>/fedora/repository/</xsl:text> |
||||
<xsl:value-of select="$pid"/>/-/<xsl:value-of select="s:title"/> |
||||
</xsl:attribute> |
||||
<xsl:value-of select="s:title"/> |
||||
</a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/> |
||||
<xsl:text>/fedora/repository/</xsl:text> |
||||
<xsl:value-of select="$pid"/>/-/ |
||||
<xsl:value-of select="s:title"/> |
||||
</xsl:attribute> |
||||
<xsl:value-of select="s:title"/> |
||||
</a> |
||||
|
||||
|
||||
</li> |
||||
</li> |
||||
</xsl:for-each> |
||||
</ul> |
||||
</ul> |
||||
|
||||
</xsl:template> |
||||
</xsl:template> |
||||
</xsl:stylesheet> |
||||
|
@ -1,66 +1,68 @@
|
||||
|
||||
<xsl:stylesheet version="1.0" xmlns:s="http://www.w3.org/2001/sw/DataAccess/rf1/result" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> |
||||
<xsl:template match="/"> |
||||
<xsl:variable name="BASEURL"> |
||||
<xsl:value-of select="$baseUrl"/> |
||||
</xsl:variable> |
||||
<xsl:variable name="collTitle" select="/s:sparql/s:results/s:result/s:collTitle"/> |
||||
<xsl:variable name="collDesc" select="/s:sparql/s:results/s:result/s:collDesc"/> |
||||
<center> |
||||
<font face="arial,helvetica"> |
||||
<h2> |
||||
<xsl:value-of select="$collTitle"/> |
||||
<br/> |
||||
<i> |
||||
<xsl:value-of select="$collDesc"/> |
||||
</i> |
||||
</h2> |
||||
</font> |
||||
</center> |
||||
<hr size="1"/> |
||||
<center> |
||||
<table border="0" cellpadding="5"> |
||||
<xsl:for-each select="/s:sparql/s:results/s:result"> |
||||
<xsl:variable name="pid" select="substring-after(s:member/@uri, '/')"/> |
||||
<tr> |
||||
<td> |
||||
<center> |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/> |
||||
<xsl:text>/fedora/repository/</xsl:text> |
||||
<xsl:value-of select="$pid"/> |
||||
<xsl:text>/FULL_SIZE</xsl:text> |
||||
</xsl:attribute> |
||||
<img height="120" width="160"> |
||||
<xsl:attribute name="src"> |
||||
<xsl:value-of select="$BASEURL"/> |
||||
<xsl:text>/fedora/repository/</xsl:text> |
||||
<xsl:value-of select="$pid"/> |
||||
<xsl:text>/MEDIUM_SIZE</xsl:text> |
||||
</xsl:attribute> |
||||
</img> |
||||
<br/> |
||||
<xsl:template match="/"> |
||||
<xsl:variable name="BASEURL"> |
||||
<xsl:value-of select="$baseUrl"/> |
||||
</xsl:variable> |
||||
<xsl:variable name="collTitle" select="/s:sparql/s:results/s:result/s:collTitle"/> |
||||
<xsl:variable name="collDesc" select="/s:sparql/s:results/s:result/s:collDesc"/> |
||||
<center> |
||||
<font face="arial,helvetica"> |
||||
<h2> |
||||
<xsl:value-of select="$collTitle"/> |
||||
<br/> |
||||
<i> |
||||
<xsl:value-of select="$collDesc"/> |
||||
</i> |
||||
</h2> |
||||
</font> |
||||
</center> |
||||
<hr size="1"/> |
||||
<center> |
||||
<table border="0" cellpadding="5"> |
||||
<xsl:for-each select="/s:sparql/s:results/s:result"> |
||||
<xsl:variable name="pid" select="substring-after(s:member/@uri, '/')"/> |
||||
<tr> |
||||
<td> |
||||
<center> |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/> |
||||
<xsl:text>/fedora/repository/</xsl:text> |
||||
<xsl:value-of select="$pid"/> |
||||
<xsl:text>/FULL_SIZE</xsl:text> |
||||
</xsl:attribute> |
||||
<img height="120" width="160"> |
||||
<xsl:attribute name="src"> |
||||
<xsl:value-of select="$BASEURL"/> |
||||
<xsl:text>/fedora/repository/</xsl:text> |
||||
<xsl:value-of select="$pid"/> |
||||
<xsl:text>/MEDIUM_SIZE</xsl:text> |
||||
</xsl:attribute> |
||||
</img> |
||||
<br/> |
||||
( Full Size ) |
||||
</a> |
||||
</center> |
||||
</td> |
||||
<td> |
||||
<b> |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/> |
||||
<xsl:text>/fedora/repository/</xsl:text> |
||||
<xsl:value-of select="$pid"/>/-/<xsl:value-of select="s:memberTitle"/> |
||||
</xsl:attribute> |
||||
<xsl:value-of select="s:memberTitle"/> |
||||
</a> |
||||
</b> |
||||
<br/> |
||||
<xsl:value-of select="s:memberDesc"/> |
||||
</td> |
||||
</tr> |
||||
</xsl:for-each> |
||||
</table> |
||||
</center> |
||||
</xsl:template> |
||||
</a> |
||||
</center> |
||||
</td> |
||||
<td> |
||||
<b> |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/> |
||||
<xsl:text>/fedora/repository/</xsl:text> |
||||
<xsl:value-of select="$pid"/>/-/ |
||||
<xsl:value-of select="s:memberTitle"/> |
||||
</xsl:attribute> |
||||
<xsl:value-of select="s:memberTitle"/> |
||||
</a> |
||||
</b> |
||||
<br/> |
||||
<xsl:value-of select="s:memberDesc"/> |
||||
</td> |
||||
</tr> |
||||
</xsl:for-each> |
||||
</table> |
||||
</center> |
||||
</xsl:template> |
||||
</xsl:stylesheet> |
||||
|
@ -1,18 +1,18 @@
|
||||
body { |
||||
font-family: Arial; |
||||
font-size: 12px; |
||||
color: gray; |
||||
background: black; |
||||
font-family: Arial; |
||||
font-size: 12px; |
||||
color: gray; |
||||
background: black; |
||||
} |
||||
|
||||
.title { |
||||
font-size: 18px; |
||||
font-weight: bold; |
||||
font-size: 18px; |
||||
font-weight: bold; |
||||
} |
||||
|
||||
#coverFlowTest .coverFlowLabel { |
||||
margin-top: 10px; |
||||
font-size: 14px; |
||||
color: #C0C0C0; |
||||
font-weight: bold; |
||||
margin-top: 10px; |
||||
font-size: 14px; |
||||
color: #C0C0C0; |
||||
font-weight: bold; |
||||
} |
File diff suppressed because it is too large
Load Diff
@ -1,88 +1,89 @@
|
||||
|
||||
<content_model xmlns="http://www.islandora.ca" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Collection" version="2" xsi:schemaLocation="http://www.islandora.ca http://localhost/islandoracm.xsd"> |
||||
<mimetypes> |
||||
<type>text/xml</type> |
||||
<type>text/plain</type> |
||||
<type>application/xml</type> |
||||
</mimetypes> |
||||
<ingest_rules></ingest_rules> |
||||
<datastreams> |
||||
<datastream dsid="DC"> |
||||
<display_method class="CollectionClass" file="CollectionClass.inc" method="showFieldSets" module=""></display_method> |
||||
</datastream> |
||||
<datastream dsid="TN"></datastream> |
||||
<datastream dsid="COLLECTION_POLICY"></datastream> |
||||
</datastreams> |
||||
<ingest_form dsid="QDC" page="2"> |
||||
<form_builder_method class="CollectionFormBuilder" file="plugins/CollectionFormBuilder.inc" handler="handleQDCForm" method="buildQDCForm" module=""></form_builder_method> |
||||
<form_elements> |
||||
<element label="Title/Caption/Object Name" name="dc:title" required="true" type="textfield"> |
||||
<description>The name given to the resource</description> |
||||
</element> |
||||
<element label="Creator/Photographer/Author" name="dc:creator" type="textfield"> |
||||
<description>An entity primarily responsible for making the content of the resource such as a person, organization or service.</description> |
||||
</element> |
||||
<element label="Subject" name="dc:subject" type="select"> |
||||
<description>An entity primarily responsible for making the content of the resource such as a person, organization or service.</description> |
||||
<authoritative_list> |
||||
<item>none</item> |
||||
<item>Multi Media</item> |
||||
<item>image</item> |
||||
<item>meeting</item> |
||||
<item>presentation</item> |
||||
<item>sound</item> |
||||
<item>text</item> |
||||
</authoritative_list> |
||||
</element> |
||||
<element label="Description" name="dc:description" required="true" type="textarea"> |
||||
<description>Examples include an abstract, table of contents, or free-text account of the content of the resource.</description> |
||||
</element> |
||||
<element label="Publisher" name="dc:publisher" type="textfield"> |
||||
<description>An entity, (including persons, organizations, or services), responsible for making the resource available.</description> |
||||
</element> |
||||
<element label="Contributor" name="dc:contributor" type="textfield"> |
||||
<description>An entity responsible for contributing to the content of the resource such as a person, organization or service.</description> |
||||
</element> |
||||
<element label="Date" name="dc:date" type="textfield"> |
||||
<description>Temporal scope of the content if known. Date format is YYYY-MM-DD (e.g. 1890,1910-10,or 2007-10-23)</description> |
||||
</element> |
||||
<element label="Resource Type" name="dc:type" type="select"> |
||||
<description>Genre of the content of the resource. Examples include: home page, novel, poem, working paper, technical report, essay, dictionary.</description> |
||||
<authoritative_list> |
||||
<item>none</item> |
||||
<item>collection</item> |
||||
<item>dataset</item> |
||||
<item>event</item> |
||||
<item>image</item> |
||||
<item>interactive resource</item> |
||||
<item>model</item> |
||||
<item>party</item> |
||||
<item>physical object</item> |
||||
<item>place</item> |
||||
<item>service</item> |
||||
<item>software</item> |
||||
<item>sound</item> |
||||
<item>text</item> |
||||
</authoritative_list> |
||||
</element> |
||||
<element label="Source" name="dc:source" type="textfield"> |
||||
<description>A reference to a resource from which the present resource is derived.</description> |
||||
</element> |
||||
<element label="Identifier" name="dc:identifier" type="textfield"> |
||||
<description>A unique reference to the resource; In this instance, the accession number or collection number.</description> |
||||
</element> |
||||
<element label="Language" name="dc:language" type="select"> |
||||
<description>The language of the intellectual content of the resource.</description> |
||||
<authoritative_list> |
||||
<item field="eng">English</item> |
||||
<item field="fre">French</item> |
||||
</authoritative_list> |
||||
</element> |
||||
<element label="Relation" name="dc:relation" type="textfield"> |
||||
<description>Reference to a related resource.</description> |
||||
</element> |
||||
<element label="Rights Management" name="dc:rights" type="textarea"> |
||||
<description>Information about intellectual property rights, copyright, and various property rights.</description> |
||||
</element> |
||||
</form_elements> |
||||
</ingest_form> |
||||
<mimetypes> |
||||
<type>text/xml</type> |
||||
<type>text/plain</type> |
||||
<type>application/xml</type> |
||||
</mimetypes> |
||||
<ingest_rules></ingest_rules> |
||||
<datastreams> |
||||
<datastream dsid="DC"> |
||||
<display_method class="CollectionClass" file="CollectionClass.inc" method="showFieldSets" module=""></display_method> |
||||
</datastream> |
||||
<datastream dsid="TN"></datastream> |
||||
<datastream dsid="COLLECTION_POLICY"></datastream> |
||||
</datastreams> |
||||
<ingest_form dsid="QDC" page="2"> |
||||
<form_builder_method class="CollectionFormBuilder" file="plugins/CollectionFormBuilder.inc" handler="handleQDCForm" method="buildQDCForm" module=""></form_builder_method> |
||||
<form_elements> |
||||
<element label="Title/Caption/Object Name" name="dc:title" required="true" type="textfield"> |
||||
<description>The name given to the resource</description> |
||||
</element> |
||||
<element label="Creator/Photographer/Author" name="dc:creator" type="textfield"> |
||||
<description>An entity primarily responsible for making the content of the resource such as a person, organization or service.</description> |
||||
</element> |
||||
<element label="Subject" name="dc:subject" type="select"> |
||||
<description>An entity primarily responsible for making the content of the resource such as a person, organization or service.</description> |
||||
<authoritative_list> |
||||
<item>none</item> |
||||
<item>Multi Media</item> |
||||
<item>image</item> |
||||
<item>meeting</item> |
||||
<item>presentation</item> |
||||
<item>sound</item> |
||||
<item>text</item> |
||||
</authoritative_list> |
||||
</element> |
||||
<element label="Description" name="dc:description" required="true" type="textarea"> |
||||
<description>Examples include an abstract, table of contents, or free-text account of the content of the resource.</description> |
||||
</element> |
||||
<element label="Publisher" name="dc:publisher" type="textfield"> |
||||
<description>An entity, (including persons, organizations, or services), responsible for making the resource available.</description> |
||||
</element> |
||||
<element label="Contributor" name="dc:contributor" type="textfield"> |
||||
<description>An entity responsible for contributing to the content of the resource such as a person, organization or service.</description> |
||||
</element> |
||||
<element label="Date" name="dc:date" type="textfield"> |
||||
<description>Temporal scope of the content if known. Date format is YYYY-MM-DD (e.g. 1890,1910-10,or 2007-10-23)</description> |
||||
</element> |
||||
<element label="Resource Type" name="dc:type" type="select"> |
||||
<description>Genre of the content of the resource. Examples include: home page, novel, poem, working paper, technical report, essay, dictionary.</description> |
||||
<authoritative_list> |
||||
<item>none</item> |
||||
<item>collection</item> |
||||
<item>dataset</item> |
||||
<item>event</item> |
||||
<item>image</item> |
||||
<item>interactive resource</item> |
||||
<item>model</item> |
||||
<item>party</item> |
||||
<item>physical object</item> |
||||
<item>place</item> |
||||
<item>service</item> |
||||
<item>software</item> |
||||
<item>sound</item> |
||||
<item>text</item> |
||||
</authoritative_list> |
||||
</element> |
||||
<element label="Source" name="dc:source" type="textfield"> |
||||
<description>A reference to a resource from which the present resource is derived.</description> |
||||
</element> |
||||
<element label="Identifier" name="dc:identifier" type="textfield"> |
||||
<description>A unique reference to the resource; In this instance, the accession number or collection number.</description> |
||||
</element> |
||||
<element label="Language" name="dc:language" type="select"> |
||||
<description>The language of the intellectual content of the resource.</description> |
||||
<authoritative_list> |
||||
<item field="eng">English</item> |
||||
<item field="fre">French</item> |
||||
</authoritative_list> |
||||
</element> |
||||
<element label="Relation" name="dc:relation" type="textfield"> |
||||
<description>Reference to a related resource.</description> |
||||
</element> |
||||
<element label="Rights Management" name="dc:rights" type="textarea"> |
||||
<description>Information about intellectual property rights, copyright, and various property rights.</description> |
||||
</element> |
||||
</form_elements> |
||||
</ingest_form> |
||||
</content_model> |
||||
|
@ -1,166 +1,167 @@
|
||||
|
||||
<content_model name="standard_slide"> |
||||
<mimetypes> |
||||
<type>image/tiff</type> |
||||
<type>image/tif</type> |
||||
</mimetypes> |
||||
<display_in_fieldset> |
||||
<datastream id="JPG"> |
||||
<method> |
||||
<file>plugins/slide_viewer.inc</file> |
||||
<class_name>ShowSlideStreamsInFieldSets</class_name> |
||||
<method_name>showJPG</method_name> |
||||
</method> |
||||
</datastream> |
||||
<datastream id="JP2"/> |
||||
<datastream id="FULL_SIZE"/> |
||||
<datastream id="FULL_JPG"/> |
||||
</display_in_fieldset> |
||||
<ingest_rules> |
||||
<rule> |
||||
<applies_to> |
||||
<mimetypes> |
||||
<type>image/tiff</type> |
||||
<type>image/tif</type> |
||||
</mimetypes> |
||||
<display_in_fieldset> |
||||
<datastream id="JPG"> |
||||
<method> |
||||
<file>plugins/slide_viewer.inc</file> |
||||
<class_name>ShowSlideStreamsInFieldSets</class_name> |
||||
<method_name>showJPG</method_name> |
||||
</method> |
||||
</datastream> |
||||
<datastream id="JP2"/> |
||||
<datastream id="FULL_SIZE"/> |
||||
<datastream id="FULL_JPG"/> |
||||
</display_in_fieldset> |
||||
<ingest_rules> |
||||
<rule> |
||||
<applies_to> |
||||
image/tiff |
||||
</applies_to> |
||||
<applies_to> |
||||
<applies_to> |
||||
image/tif |
||||
</applies_to> |
||||
<methods> |
||||
<method> |
||||
<file>plugins/ImageManipulation.inc</file> |
||||
<class_name>ImageManipulation</class_name> |
||||
<method_name>createJP2</method_name> |
||||
<modified_files_ext>jp2</modified_files_ext> |
||||
<datastream_id>JP2</datastream_id> |
||||
</method> |
||||
</methods> |
||||
</rule> |
||||
</ingest_rules> |
||||
<ingest_form dsid="QDC" page="2"> |
||||
<form_builder_method> |
||||
<file>plugins/DemoFormBuilder.inc</file> |
||||
<class_name>DemoFormBuilder</class_name> |
||||
<method_name>buildQDCForm</method_name> |
||||
<form_handler>handleQDCForm</form_handler> |
||||
</form_builder_method> |
||||
<form_elements> |
||||
<element> |
||||
<label>Title/Caption/Image Name</label> |
||||
<name>dc:title</name> |
||||
<type>textfield</type> |
||||
<description>The name given to the resource</description> |
||||
<required>true</required> |
||||
</element> |
||||
<element> |
||||
<label>Creator/Photographer</label> |
||||
<name>dc:creator</name> |
||||
<type>textfield</type> |
||||
<description>An entity primarily responsible for making the content of the resource such as a person, organization or service.</description> |
||||
<required>false</required> |
||||
</element> |
||||
<element> |
||||
<label>Subject</label> |
||||
<name>dc:subject</name> |
||||
<type>select</type> |
||||
<description>Subject</description> |
||||
<required>false</required> |
||||
<authoritative_list> |
||||
<item> |
||||
<field>image</field> |
||||
<value>image</value> |
||||
</item> |
||||
<item> |
||||
<field>photograph</field> |
||||
<value>photograph</value> |
||||
</item> |
||||
<item> |
||||
<field>presentation</field> |
||||
<value>presentation</value> |
||||
</item> |
||||
<item> |
||||
<field>art</field> |
||||
<value>art</value> |
||||
</item> |
||||
</authoritative_list> |
||||
</element> |
||||
<element> |
||||
<label>Description</label> |
||||
<name>dc:description</name> |
||||
<type>textarea</type> |
||||
<description>Description of the Image</description> |
||||
<required>true</required> |
||||
</element> |
||||
<element> |
||||
<label>Publisher</label> |
||||
<name>dc:publisher</name> |
||||
<type>textfield</type> |
||||
<description>An entity, (including persons, organizations, or services), responsible for making the resource available.</description> |
||||
<required>false</required> |
||||
</element> |
||||
<element> |
||||
<label>Contributor</label> |
||||
<name>dc:contributor</name> |
||||
<type>textfield</type> |
||||
<description>An entity responsible for contributing to the content of the resource such as a person, organization or service.</description> |
||||
<required>false</required> |
||||
</element> |
||||
<element> |
||||
<label>Date</label> |
||||
<name>dc:date</name> |
||||
<type>textfield</type> |
||||
<description>Temporal scope of the content if known. Date format is YYYY-MM-DD (e.g. 1890,1910-10,or 2007-10-23)</description> |
||||
<required>false</required> |
||||
</element> |
||||
<element> |
||||
<label>Resource Type</label> |
||||
<name>dc:type</name> |
||||
<type>textfield</type> |
||||
<description>Genre of the content of the resource. Examples include: home page, novel, poem, working paper, technical report, essay, dictionary.</description> |
||||
<required>false</required> |
||||
</element> |
||||
<element> |
||||
<label>Source</label> |
||||
<name>dc:source</name> |
||||
<type>textfield</type> |
||||
<description>A reference to a resource from which the present resource is derived.</description> |
||||
<required>false</required> |
||||
</element> |
||||
<element> |
||||
<label>Identifier</label> |
||||
<name>dc:identifier</name> |
||||
<type>textfield</type> |
||||
<description>A unique reference to the resource; In this instance, the accession number or collection number.</description> |
||||
<required>false</required> |
||||
</element> |
||||
<element> |
||||
<label>Language</label> |
||||
<name>dc:language</name> |
||||
<type>select</type> |
||||
<description>The language of the intellectual content of the resource.</description> |
||||
<required>false</required> |
||||
<authoritative_list> |
||||
<item> |
||||
<field>eng</field> |
||||
<value>English</value> |
||||
</item> |
||||
<item> |
||||
<field>fre</field> |
||||
<value>French</value> |
||||
</item> |
||||
</authoritative_list> |
||||
</element> |
||||
<element> |
||||
<label>Relation</label> |
||||
<name>dc:relation</name> |
||||
<type>textfield</type> |
||||
<description>Reference to a related resource.</description> |
||||
<required>false</required> |
||||
</element> |
||||
<element> |
||||
<label>Rights Management</label> |
||||
<name>dc:rights</name> |
||||
<type>textarea</type> |
||||
<description>Information about intellectual property rights, copyright, and various property rights.</description> |
||||
<required>false</required> |
||||
</element> |
||||
</form_elements> |
||||
</ingest_form> |
||||
</applies_to> |
||||
<methods> |
||||
<method> |
||||
<file>plugins/ImageManipulation.inc</file> |
||||
<class_name>ImageManipulation</class_name> |
||||
<method_name>createJP2</method_name> |
||||
<modified_files_ext>jp2</modified_files_ext> |
||||
<datastream_id>JP2</datastream_id> |
||||
</method> |
||||
</methods> |
||||
</rule> |
||||
</ingest_rules> |
||||
<ingest_form dsid="QDC" page="2"> |
||||
<form_builder_method> |
||||
<file>plugins/DemoFormBuilder.inc</file> |
||||
<class_name>DemoFormBuilder</class_name> |
||||
<method_name>buildQDCForm</method_name> |
||||
<form_handler>handleQDCForm</form_handler> |
||||
</form_builder_method> |
||||
<form_elements> |
||||
<element> |
||||
<label>Title/Caption/Image Name</label> |
||||
<name>dc:title</name> |
||||
<type>textfield</type> |
||||
<description>The name given to the resource</description> |
||||
<required>true</required> |
||||
</element> |
||||
<element> |
||||
<label>Creator/Photographer</label> |
||||
<name>dc:creator</name> |
||||
<type>textfield</type> |
||||
<description>An entity primarily responsible for making the content of the resource such as a person, organization or service.</description> |
||||
<required>false</required> |
||||
</element> |
||||
<element> |
||||
<label>Subject</label> |
||||
<name>dc:subject</name> |
||||
<type>select</type> |
||||
<description>Subject</description> |
||||
<required>false</required> |
||||
<authoritative_list> |
||||
<item> |
||||
<field>image</field> |
||||
<value>image</value> |
||||
</item> |
||||
<item> |
||||
<field>photograph</field> |
||||
<value>photograph</value> |
||||
</item> |
||||
<item> |
||||
<field>presentation</field> |
||||
<value>presentation</value> |
||||
</item> |
||||
<item> |
||||
<field>art</field> |
||||
<value>art</value> |
||||
</item> |
||||
</authoritative_list> |
||||
</element> |
||||
<element> |
||||
<label>Description</label> |
||||
<name>dc:description</name> |
||||
<type>textarea</type> |
||||
<description>Description of the Image</description> |
||||
<required>true</required> |
||||
</element> |
||||
<element> |
||||
<label>Publisher</label> |
||||
<name>dc:publisher</name> |
||||
<type>textfield</type> |
||||
<description>An entity, (including persons, organizations, or services), responsible for making the resource available.</description> |
||||
<required>false</required> |
||||
</element> |
||||
<element> |
||||
<label>Contributor</label> |
||||
<name>dc:contributor</name> |
||||
<type>textfield</type> |
||||
<description>An entity responsible for contributing to the content of the resource such as a person, organization or service.</description> |
||||
<required>false</required> |
||||
</element> |
||||
<element> |
||||
<label>Date</label> |
||||
<name>dc:date</name> |
||||
<type>textfield</type> |
||||
<description>Temporal scope of the content if known. Date format is YYYY-MM-DD (e.g. 1890,1910-10,or 2007-10-23)</description> |
||||
<required>false</required> |
||||
</element> |
||||
<element> |
||||
<label>Resource Type</label> |
||||
<name>dc:type</name> |
||||
<type>textfield</type> |
||||
<description>Genre of the content of the resource. Examples include: home page, novel, poem, working paper, technical report, essay, dictionary.</description> |
||||
<required>false</required> |
||||
</element> |
||||
<element> |
||||
<label>Source</label> |
||||
<name>dc:source</name> |
||||
<type>textfield</type> |
||||
<description>A reference to a resource from which the present resource is derived.</description> |
||||
<required>false</required> |
||||
</element> |
||||
<element> |
||||
<label>Identifier</label> |
||||
<name>dc:identifier</name> |
||||
<type>textfield</type> |
||||
<description>A unique reference to the resource; In this instance, the accession number or collection number.</description> |
||||
<required>false</required> |
||||
</element> |
||||
<element> |
||||
<label>Language</label> |
||||
<name>dc:language</name> |
||||
<type>select</type> |
||||
<description>The language of the intellectual content of the resource.</description> |
||||
<required>false</required> |
||||
<authoritative_list> |
||||
<item> |
||||
<field>eng</field> |
||||
<value>English</value> |
||||
</item> |
||||
<item> |
||||
<field>fre</field> |
||||
<value>French</value> |
||||
</item> |
||||
</authoritative_list> |
||||
</element> |
||||
<element> |
||||
<label>Relation</label> |
||||
<name>dc:relation</name> |
||||
<type>textfield</type> |
||||
<description>Reference to a related resource.</description> |
||||
<required>false</required> |
||||
</element> |
||||
<element> |
||||
<label>Rights Management</label> |
||||
<name>dc:rights</name> |
||||
<type>textarea</type> |
||||
<description>Information about intellectual property rights, copyright, and various property rights.</description> |
||||
<required>false</required> |
||||
</element> |
||||
</form_elements> |
||||
</ingest_form> |
||||
</content_model> |
||||
|
@ -1,95 +1,95 @@
|
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<content_model xmlns="http://www.islandora.ca" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="standard_jpeg" xsi:schemaLocation="http://www.islandora.ca http://localhost/islandoracm.xsd"> |
||||
<mimetypes> |
||||
<type>image/jpeg</type> |
||||
</mimetypes> |
||||
<ingest_rules> |
||||
<rule> |
||||
<applies_to>image/jpeg</applies_to> |
||||
<ingest_methods> |
||||
<ingest_method module="" file="plugins/ImageManipulation.inc" class="ImageManipulation" method="manipulateImage" dsid="MEDIUM_SIZE" modified_files_ext="jpg"> |
||||
<parameters> |
||||
<parameter name="width">160</parameter> |
||||
<parameter name="height">120</parameter> |
||||
</parameters> |
||||
</ingest_method> |
||||
<ingest_method module="" file="plugins/ImageManipulation.inc" class="ImageManipulation" method="manipulateImage" dsid="TN" modified_files_ext="jpg"> |
||||
<parameters> |
||||
<parameter name="width">120</parameter> |
||||
<parameter name="height">120</parameter> |
||||
</parameters> |
||||
</ingest_method> |
||||
</ingest_methods> |
||||
</rule> |
||||
</ingest_rules> |
||||
<datastreams> |
||||
<datastream dsid="MEDIUM_SIZE"> |
||||
<display_method module="" file="plugins/ShowDemoStreamsInFieldSets.inc" class="ShowDemoStreamsInFieldSets" method="showMediumSize"/> |
||||
</datastream> |
||||
<datastream dsid="QDC"> |
||||
<display_method module="" file="plugins/ShowStreamsInFieldSets.inc" class="ShowStreamsInFieldSets" method="showQdc"/> |
||||
</datastream> |
||||
<datastream dsid="FULL_SIZE"> |
||||
<add_datastream_method module="" file="plugins/ImageManipulation.inc" class="ImageManipulation" method="manipulateImage" dsid="MEDIUM_SIZE" modified_files_ext="jpg"> |
||||
<parameters> |
||||
<parameter name="width">120</parameter> |
||||
<parameter name="height">160</parameter> |
||||
</parameters> |
||||
</add_datastream_method> |
||||
</datastream> |
||||
</datastreams> |
||||
<ingest_form dsid="QDC" page="2"> |
||||
<form_builder_method module="" file="plugins/DemoFormBuilder.inc" class="DemoFormBuilder" method="buildQDCForm" handler="handleQDCForm"/> |
||||
<form_elements> |
||||
<element label="Title/Caption/Image Name" name="dc:title" type="textfield" required="true"> |
||||
<description>The name given to the resource</description> |
||||
</element> |
||||
<element label="Creator/Photographer" name="dc:creator" type="textfield"> |
||||
<description>An entity primarily responsible for making the content of the resource such as a person, organization or service.</description> |
||||
</element> |
||||
<element label="Subject" name="dc:subject" type="select"> |
||||
<description>Subject</description> |
||||
<authoritative_list> |
||||
<item>image</item> |
||||
<item>photograph</item> |
||||
<item>presentation</item> |
||||
<item>art</item> |
||||
</authoritative_list> |
||||
</element> |
||||
<element label="Description" name="dc:description" type="textarea" required="true"> |
||||
<description>Description of the Image</description> |
||||
</element> |
||||
<element label="Publisher" name="dc:publisher" type="textfield"> |
||||
<description>An entity, (including persons, organizations, or services), responsible for making the resource available.</description> |
||||
</element> |
||||
<element label="Contributor" name="dc:contributor" type="textfield"> |
||||
<description>An entity responsible for contributing to the content of the resource such as a person, organization or service.</description> |
||||
</element> |
||||
<element label="Date" name="dc:date" type="textfield"> |
||||
<description>Temporal scope of the content if known. Date format is YYYY-MM-DD (e.g. 1890,1910-10,or 2007-10-23)</description> |
||||
</element> |
||||
<element label="Resource Type" name="dc:type" type="textfield"> |
||||
<description>Genre of the content of the resource. Examples include: home page, novel, poem, working paper, technical report, essay, dictionary.</description> |
||||
</element> |
||||
<element label="Source" name="dc:source" type="textfield"> |
||||
<description>A reference to a resource from which the present resource is derived.</description> |
||||
</element> |
||||
<element label="Identifier" name="dc:identifier" type="textfield"> |
||||
<description>A unique reference to the resource; In this instance, the accession number or collection number.</description> |
||||
</element> |
||||
<element label="Language" name="dc:language" type="select"> |
||||
<description>The language of the intellectual content of the resource.</description> |
||||
<authoritative_list> |
||||
<item field="eng">English</item> |
||||
<item field="fre">French</item> |
||||
</authoritative_list> |
||||
</element> |
||||
<element label="Relation" name="dc:relation" type="textfield"> |
||||
<description>Reference to a related resource.</description> |
||||
</element> |
||||
<element label="Rights Management" name="dc:rights" type="textarea"> |
||||
<description>Information about intellectual property rights, copyright, and various property rights.</description> |
||||
</element> |
||||
</form_elements> |
||||
</ingest_form> |
||||
<mimetypes> |
||||
<type>image/jpeg</type> |
||||
</mimetypes> |
||||
<ingest_rules> |
||||
<rule> |
||||
<applies_to>image/jpeg</applies_to> |
||||
<ingest_methods> |
||||
<ingest_method module="" file="plugins/ImageManipulation.inc" class="ImageManipulation" method="manipulateImage" dsid="MEDIUM_SIZE" modified_files_ext="jpg"> |
||||
<parameters> |
||||
<parameter name="width">160</parameter> |
||||
<parameter name="height">120</parameter> |
||||
</parameters> |
||||
</ingest_method> |
||||
<ingest_method module="" file="plugins/ImageManipulation.inc" class="ImageManipulation" method="manipulateImage" dsid="TN" modified_files_ext="jpg"> |
||||
<parameters> |
||||
<parameter name="width">120</parameter> |
||||
<parameter name="height">120</parameter> |
||||
</parameters> |
||||
</ingest_method> |
||||
</ingest_methods> |
||||
</rule> |
||||
</ingest_rules> |
||||
<datastreams> |
||||
<datastream dsid="MEDIUM_SIZE"> |
||||
<display_method module="" file="plugins/ShowDemoStreamsInFieldSets.inc" class="ShowDemoStreamsInFieldSets" method="showMediumSize"/> |
||||
</datastream> |
||||
<datastream dsid="QDC"> |
||||
<display_method module="" file="plugins/ShowStreamsInFieldSets.inc" class="ShowStreamsInFieldSets" method="showQdc"/> |
||||
</datastream> |
||||
<datastream dsid="FULL_SIZE"> |
||||
<add_datastream_method module="" file="plugins/ImageManipulation.inc" class="ImageManipulation" method="manipulateImage" dsid="MEDIUM_SIZE" modified_files_ext="jpg"> |
||||
<parameters> |
||||
<parameter name="width">120</parameter> |
||||
<parameter name="height">160</parameter> |
||||
</parameters> |
||||
</add_datastream_method> |
||||
</datastream> |
||||
</datastreams> |
||||
<ingest_form dsid="QDC" page="2"> |
||||
<form_builder_method module="" file="plugins/DemoFormBuilder.inc" class="DemoFormBuilder" method="buildQDCForm" handler="handleQDCForm"/> |
||||
<form_elements> |
||||
<element label="Title/Caption/Image Name" name="dc:title" type="textfield" required="true"> |
||||
<description>The name given to the resource</description> |
||||
</element> |
||||
<element label="Creator/Photographer" name="dc:creator" type="textfield"> |
||||
<description>An entity primarily responsible for making the content of the resource such as a person, organization or service.</description> |
||||
</element> |
||||
<element label="Subject" name="dc:subject" type="select"> |
||||
<description>Subject</description> |
||||
<authoritative_list> |
||||
<item>image</item> |
||||
<item>photograph</item> |
||||
<item>presentation</item> |
||||
<item>art</item> |
||||
</authoritative_list> |
||||
</element> |
||||
<element label="Description" name="dc:description" type="textarea" required="true"> |
||||
<description>Description of the Image</description> |
||||
</element> |
||||
<element label="Publisher" name="dc:publisher" type="textfield"> |
||||
<description>An entity, (including persons, organizations, or services), responsible for making the resource available.</description> |
||||
</element> |
||||
<element label="Contributor" name="dc:contributor" type="textfield"> |
||||
<description>An entity responsible for contributing to the content of the resource such as a person, organization or service.</description> |
||||
</element> |
||||
<element label="Date" name="dc:date" type="textfield"> |
||||
<description>Temporal scope of the content if known. Date format is YYYY-MM-DD (e.g. 1890,1910-10,or 2007-10-23)</description> |
||||
</element> |
||||
<element label="Resource Type" name="dc:type" type="textfield"> |
||||
<description>Genre of the content of the resource. Examples include: home page, novel, poem, working paper, technical report, essay, dictionary.</description> |
||||
</element> |
||||
<element label="Source" name="dc:source" type="textfield"> |
||||
<description>A reference to a resource from which the present resource is derived.</description> |
||||
</element> |
||||
<element label="Identifier" name="dc:identifier" type="textfield"> |
||||
<description>A unique reference to the resource; In this instance, the accession number or collection number.</description> |
||||
</element> |
||||
<element label="Language" name="dc:language" type="select"> |
||||
<description>The language of the intellectual content of the resource.</description> |
||||
<authoritative_list> |
||||
<item field="eng">English</item> |
||||
<item field="fre">French</item> |
||||
</authoritative_list> |
||||
</element> |
||||
<element label="Relation" name="dc:relation" type="textfield"> |
||||
<description>Reference to a related resource.</description> |
||||
</element> |
||||
<element label="Rights Management" name="dc:rights" type="textarea"> |
||||
<description>Information about intellectual property rights, copyright, and various property rights.</description> |
||||
</element> |
||||
</form_elements> |
||||
</ingest_form> |
||||
</content_model> |
@ -1,95 +1,95 @@
|
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<content_model xmlns="http://www.islandora.ca" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="standard_jpeg" xsi:schemaLocation="http://www.islandora.ca http://localhost/islandoracm.xsd"> |
||||
<mimetypes> |
||||
<type>image/jpeg</type> |
||||
</mimetypes> |
||||
<ingest_rules> |
||||
<rule> |
||||
<applies_to>image/jpeg</applies_to> |
||||
<ingest_methods> |
||||
<ingest_method module="" file="plugins/ImageManipulation.inc" class="ImageManipulation" method="manipulateImage" dsid="MEDIUM_SIZE" modified_files_ext="jpg"> |
||||
<parameters> |
||||
<parameter name="width">160</parameter> |
||||
<parameter name="height">120</parameter> |
||||
</parameters> |
||||
</ingest_method> |
||||
<ingest_method module="" file="plugins/ImageManipulation.inc" class="ImageManipulation" method="manipulateImage" dsid="TN" modified_files_ext="jpg"> |
||||
<parameters> |
||||
<parameter name="width">120</parameter> |
||||
<parameter name="height">120</parameter> |
||||
</parameters> |
||||
</ingest_method> |
||||
</ingest_methods> |
||||
</rule> |
||||
</ingest_rules> |
||||
<datastreams> |
||||
<datastream dsid="MEDIUM_SIZE"> |
||||
<display_method module="" file="plugins/ShowDemoStreamsInFieldSets.inc" class="ShowDemoStreamsInFieldSets" method="showMediumSize"/> |
||||
</datastream> |
||||
<datastream dsid="QDC"> |
||||
<display_method module="" file="plugins/ShowStreamsInFieldSets.inc" class="ShowStreamsInFieldSets" method="showQdc"/> |
||||
</datastream> |
||||
<datastream dsid="FULL_SIZE"> |
||||
<add_datastream_method module="" file="plugins/ImageManipulation.inc" class="ImageManipulation" method="manipulateImage" dsid="MEDIUM_SIZE" modified_files_ext="jpg"> |
||||
<parameters> |
||||
<parameter name="width">120</parameter> |
||||
<parameter name="height">160</parameter> |
||||
</parameters> |
||||
</add_datastream_method> |
||||
</datastream> |
||||
</datastreams> |
||||
<ingest_form dsid="QDC" page="2"> |
||||
<form_builder_method module="" file="plugins/DemoFormBuilder.inc" class="DemoFormBuilder" method="buildQDCForm" handler="handleQDCForm"/> |
||||
<form_elements> |
||||
<element label="Title/Caption/Image Name" name="dc:title" type="textfield" required="true"> |
||||
<description>The name given to the resource</description> |
||||
</element> |
||||
<element label="Creator/Photographer" name="dc:creator" type="textfield"> |
||||
<description>An entity primarily responsible for making the content of the resource such as a person, organization or service.</description> |
||||
</element> |
||||
<element label="Subject" name="dc:subject" type="select"> |
||||
<description>Subject</description> |
||||
<authoritative_list> |
||||
<item>image</item> |
||||
<item>photograph</item> |
||||
<item>presentation</item> |
||||
<item>art</item> |
||||
</authoritative_list> |
||||
</element> |
||||
<element label="Description" name="dc:description" type="textarea" required="true"> |
||||
<description>Description of the Image</description> |
||||
</element> |
||||
<element label="Publisher" name="dc:publisher" type="textfield"> |
||||
<description>An entity, (including persons, organizations, or services), responsible for making the resource available.</description> |
||||
</element> |
||||
<element label="Contributor" name="dc:contributor" type="textfield"> |
||||
<description>An entity responsible for contributing to the content of the resource such as a person, organization or service.</description> |
||||
</element> |
||||
<element label="Date" name="dc:date" type="textfield"> |
||||
<description>Temporal scope of the content if known. Date format is YYYY-MM-DD (e.g. 1890,1910-10,or 2007-10-23)</description> |
||||
</element> |
||||
<element label="Resource Type" name="dc:type" type="textfield"> |
||||
<description>Genre of the content of the resource. Examples include: home page, novel, poem, working paper, technical report, essay, dictionary.</description> |
||||
</element> |
||||
<element label="Source" name="dc:source" type="textfield"> |
||||
<description>A reference to a resource from which the present resource is derived.</description> |
||||
</element> |
||||
<element label="Identifier" name="dc:identifier" type="textfield"> |
||||
<description>A unique reference to the resource; In this instance, the accession number or collection number.</description> |
||||
</element> |
||||
<element label="Language" name="dc:language" type="select"> |
||||
<description>The language of the intellectual content of the resource.</description> |
||||
<authoritative_list> |
||||
<item field="eng">English</item> |
||||
<item field="fre">French</item> |
||||
</authoritative_list> |
||||
</element> |
||||
<element label="Relation" name="dc:relation" type="textfield"> |
||||
<description>Reference to a related resource.</description> |
||||
</element> |
||||
<element label="Rights Management" name="dc:rights" type="textarea"> |
||||
<description>Information about intellectual property rights, copyright, and various property rights.</description> |
||||
</element> |
||||
</form_elements> |
||||
</ingest_form> |
||||
<mimetypes> |
||||
<type>image/jpeg</type> |
||||
</mimetypes> |
||||
<ingest_rules> |
||||
<rule> |
||||
<applies_to>image/jpeg</applies_to> |
||||
<ingest_methods> |
||||
<ingest_method module="" file="plugins/ImageManipulation.inc" class="ImageManipulation" method="manipulateImage" dsid="MEDIUM_SIZE" modified_files_ext="jpg"> |
||||
<parameters> |
||||
<parameter name="width">160</parameter> |
||||
<parameter name="height">120</parameter> |
||||
</parameters> |
||||
</ingest_method> |
||||
<ingest_method module="" file="plugins/ImageManipulation.inc" class="ImageManipulation" method="manipulateImage" dsid="TN" modified_files_ext="jpg"> |
||||
<parameters> |
||||
<parameter name="width">120</parameter> |
||||
<parameter name="height">120</parameter> |
||||
</parameters> |
||||
</ingest_method> |
||||
</ingest_methods> |
||||
</rule> |
||||
</ingest_rules> |
||||
<datastreams> |
||||
<datastream dsid="MEDIUM_SIZE"> |
||||
<display_method module="" file="plugins/ShowDemoStreamsInFieldSets.inc" class="ShowDemoStreamsInFieldSets" method="showMediumSize"/> |
||||
</datastream> |
||||
<datastream dsid="QDC"> |
||||
<display_method module="" file="plugins/ShowStreamsInFieldSets.inc" class="ShowStreamsInFieldSets" method="showQdc"/> |
||||
</datastream> |
||||
<datastream dsid="FULL_SIZE"> |
||||
<add_datastream_method module="" file="plugins/ImageManipulation.inc" class="ImageManipulation" method="manipulateImage" dsid="MEDIUM_SIZE" modified_files_ext="jpg"> |
||||
<parameters> |
||||
<parameter name="width">120</parameter> |
||||
<parameter name="height">160</parameter> |
||||
</parameters> |
||||
</add_datastream_method> |
||||
</datastream> |
||||
</datastreams> |
||||
<ingest_form dsid="QDC" page="2"> |
||||
<form_builder_method module="" file="plugins/DemoFormBuilder.inc" class="DemoFormBuilder" method="buildQDCForm" handler="handleQDCForm"/> |
||||
<form_elements> |
||||
<element label="Title/Caption/Image Name" name="dc:title" type="textfield" required="true"> |
||||
<description>The name given to the resource</description> |
||||
</element> |
||||
<element label="Creator/Photographer" name="dc:creator" type="textfield"> |
||||
<description>An entity primarily responsible for making the content of the resource such as a person, organization or service.</description> |
||||
</element> |
||||
<element label="Subject" name="dc:subject" type="select"> |
||||
<description>Subject</description> |
||||
<authoritative_list> |
||||
<item>image</item> |
||||
<item>photograph</item> |
||||
<item>presentation</item> |
||||
<item>art</item> |
||||
</authoritative_list> |
||||
</element> |
||||
<element label="Description" name="dc:description" type="textarea" required="true"> |
||||
<description>Description of the Image</description> |
||||
</element> |
||||
<element label="Publisher" name="dc:publisher" type="textfield"> |
||||
<description>An entity, (including persons, organizations, or services), responsible for making the resource available.</description> |
||||
</element> |
||||
<element label="Contributor" name="dc:contributor" type="textfield"> |
||||
<description>An entity responsible for contributing to the content of the resource such as a person, organization or service.</description> |
||||
</element> |
||||
<element label="Date" name="dc:date" type="textfield"> |
||||
<description>Temporal scope of the content if known. Date format is YYYY-MM-DD (e.g. 1890,1910-10,or 2007-10-23)</description> |
||||
</element> |
||||
<element label="Resource Type" name="dc:type" type="textfield"> |
||||
<description>Genre of the content of the resource. Examples include: home page, novel, poem, working paper, technical report, essay, dictionary.</description> |
||||
</element> |
||||
<element label="Source" name="dc:source" type="textfield"> |
||||
<description>A reference to a resource from which the present resource is derived.</description> |
||||
</element> |
||||
<element label="Identifier" name="dc:identifier" type="textfield"> |
||||
<description>A unique reference to the resource; In this instance, the accession number or collection number.</description> |
||||
</element> |
||||
<element label="Language" name="dc:language" type="select"> |
||||
<description>The language of the intellectual content of the resource.</description> |
||||
<authoritative_list> |
||||
<item field="eng">English</item> |
||||
<item field="fre">French</item> |
||||
</authoritative_list> |
||||
</element> |
||||
<element label="Relation" name="dc:relation" type="textfield"> |
||||
<description>Reference to a related resource.</description> |
||||
</element> |
||||
<element label="Rights Management" name="dc:rights" type="textarea"> |
||||
<description>Information about intellectual property rights, copyright, and various property rights.</description> |
||||
</element> |
||||
</form_elements> |
||||
</ingest_form> |
||||
</content_model> |
@ -1,137 +1,148 @@
|
||||
|
||||
<content_model xmlns="http://www.islandora.ca" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="standard_qt" xsi:schemaLocation="http://www.islandora.ca http://localhost/islandoracm.xsd"> |
||||
<mimetypes> |
||||
<type>video/quicktime</type> |
||||
<type>video/mp4</type> |
||||
<mimetypes> |
||||
<type>video/quicktime</type> |
||||
<type>video/mp4</type> |
||||
|
||||
<type>audio/mp3</type> |
||||
<type>audio/x-aiff</type> |
||||
</mimetypes> |
||||
<ingest_rules> |
||||
<rule> |
||||
<applies_to>video/quicktime</applies_to> |
||||
<applies_to>video/mp4</applies_to> |
||||
<type>audio/mp3</type> |
||||
<type>audio/x-aiff</type> |
||||
</mimetypes> |
||||
<ingest_rules> |
||||
<rule> |
||||
<applies_to>video/quicktime</applies_to> |
||||
<applies_to>video/mp4</applies_to> |
||||
|
||||
<applies_to>audio/mp3</applies_to> |
||||
<applies_to>audio/x-aiff</applies_to> |
||||
<ingest_methods> |
||||
<ingest_method file="plugins/Exiftool.inc" class="Exiftool" method="extractMetadata" dsid="OBJ_EXIFTOOL" modified_files_ext=""> |
||||
<parameters></parameters> |
||||
</ingest_method> |
||||
<applies_to>audio/mp3</applies_to> |
||||
<applies_to>audio/x-aiff</applies_to> |
||||
<ingest_methods> |
||||
<ingest_method file="plugins/Exiftool.inc" class="Exiftool" method="extractMetadata" dsid="OBJ_EXIFTOOL" modified_files_ext=""> |
||||
<parameters></parameters> |
||||
</ingest_method> |
||||
|
||||
<ingest_method class="Ffmpeg" dsid="FULL_SIZE" file="plugins/Ffmpeg.inc" method="extract_thumbnail" modified_files_ext="jpg"> |
||||
<parameters> |
||||
</parameters> |
||||
</ingest_method> |
||||
<ingest_method class="Ffmpeg" dsid="FULL_SIZE" file="plugins/Ffmpeg.inc" method="extract_thumbnail" modified_files_ext="jpg"> |
||||
<parameters> |
||||
</parameters> |
||||
</ingest_method> |
||||
|
||||
<ingest_method class="Ffmpeg" dsid="TN" file="plugins/Ffmpeg.inc" method="extract_thumbnail" modified_files_ext="jpg"> |
||||
<parameters> |
||||
<parameter name="s">92x92</parameter> |
||||
</parameters> |
||||
</ingest_method> |
||||
</ingest_methods> |
||||
</rule> |
||||
</ingest_rules> |
||||
<datastreams> |
||||
<datastream dsid="OBJ"> |
||||
<display_method class="ShowQtStreamsInFieldSets" file="plugins/qt_viewer.inc" method="showQt" module=""></display_method> |
||||
</datastream> |
||||
<datastream dsid="PROXY"></datastream> |
||||
<datastream dsid="OBJ_EXIFTOOL"></datastream> |
||||
<datastream dsid="TN"></datastream> |
||||
<datastream dsid="FULL_SIZE"></datastream> |
||||
<datastream dsid="QDC"> |
||||
<display_method class="ShowStreamsInFieldSets" file="plugins/ShowStreamsInFieldSets.inc" method="showQdc" module=""></display_method> |
||||
</datastream> |
||||
</datastreams> |
||||
<ingest_form dsid="QDC" page="2"> |
||||
<form_builder_method class="QtFormBuilder" file="plugins/QtFormBuilder.php" handler="handleQDCForm" method="buildQDCForm" module=""></form_builder_method> |
||||
<form_elements> |
||||
<element label="Title/Caption/Media Name" name="dc:title" required="true" type="textfield"> |
||||
<description>The name given to the file</description> |
||||
</element> |
||||
<element label="Creator/" name="dc:creator" type="textfield"> |
||||
<description>An entity primarily responsible for making the |
||||
<ingest_method class="Ffmpeg" dsid="TN" file="plugins/Ffmpeg.inc" method="extract_thumbnail" modified_files_ext="jpg"> |
||||
<parameters> |
||||
<parameter name="s">92x92</parameter> |
||||
</parameters> |
||||
</ingest_method> |
||||
</ingest_methods> |
||||
</rule> |
||||
</ingest_rules> |
||||
<datastreams> |
||||
<datastream dsid="OBJ"> |
||||
<display_method class="ShowQtStreamsInFieldSets" file="plugins/qt_viewer.inc" method="showQt" module=""></display_method> |
||||
</datastream> |
||||
<datastream dsid="PROXY"></datastream> |
||||
<datastream dsid="OBJ_EXIFTOOL"></datastream> |
||||
<datastream dsid="TN"></datastream> |
||||
<datastream dsid="FULL_SIZE"></datastream> |
||||
<datastream dsid="QDC"> |
||||
<display_method class="ShowStreamsInFieldSets" file="plugins/ShowStreamsInFieldSets.inc" method="showQdc" module=""></display_method> |
||||
</datastream> |
||||
</datastreams> |
||||
<ingest_form dsid="QDC" page="2"> |
||||
<form_builder_method class="QtFormBuilder" file="plugins/QtFormBuilder.php" handler="handleQDCForm" method="buildQDCForm" module=""></form_builder_method> |
||||
<form_elements> |
||||
<element label="Title/Caption/Media Name" name="dc:title" required="true" type="textfield"> |
||||
<description>The name given to the file</description> |
||||
</element> |
||||
<element label="Creator/" name="dc:creator" type="textfield"> |
||||
<description>An entity primarily responsible for making the |
||||
content of the resource such as a person, organization or |
||||
service.</description> |
||||
</element> |
||||
<element label="Subject" name="dc:subject" type="select"> |
||||
<description>An entity primarily responsible for making the |
||||
service. |
||||
</description> |
||||
</element> |
||||
<element label="Subject" name="dc:subject" type="select"> |
||||
<description>An entity primarily responsible for making the |
||||
content of the resource such as a person, organization or |
||||
service.</description> |
||||
<authoritative_list> |
||||
<item>home recording</item> |
||||
<item>meeting</item> |
||||
<item>presentation</item> |
||||
<item>sound</item> |
||||
</authoritative_list> |
||||
</element> |
||||
<element label="Description of Media" name="dc:description" required="true" type="textarea"> |
||||
<description>Examples include an abstract, table of |
||||
service. |
||||
</description> |
||||
<authoritative_list> |
||||
<item>home recording</item> |
||||
<item>meeting</item> |
||||
<item>presentation</item> |
||||
<item>sound</item> |
||||
</authoritative_list> |
||||
</element> |
||||
<element label="Description of Media" name="dc:description" required="true" type="textarea"> |
||||
<description>Examples include an abstract, table of |
||||
contents, or free-text account of the content of the |
||||
resource.</description> |
||||
</element> |
||||
<element label="Publisher" name="dc:publisher" type="textfield"> |
||||
<description>An entity, (including persons, organizations, |
||||
resource. |
||||
</description> |
||||
</element> |
||||
<element label="Publisher" name="dc:publisher" type="textfield"> |
||||
<description>An entity, (including persons, organizations, |
||||
or services), responsible for making the resource |
||||
available.</description> |
||||
</element> |
||||
<element label="Contributor" name="dc:contributor" type="textfield"> |
||||
<description>An entity responsible for contributing to the |
||||
available. |
||||
</description> |
||||
</element> |
||||
<element label="Contributor" name="dc:contributor" type="textfield"> |
||||
<description>An entity responsible for contributing to the |
||||
content of the resource such as a person, organization or |
||||
service.</description> |
||||
</element> |
||||
<element label="Date" name="dc:date" type="textfield"> |
||||
<description>Temporal scope of the content if known. Date |
||||
service. |
||||
</description> |
||||
</element> |
||||
<element label="Date" name="dc:date" type="textfield"> |
||||
<description>Temporal scope of the content if known. Date |
||||
format is YYYY-MM-DD (e.g. 1890,1910-10,or |
||||
2007-10-23)</description> |
||||
</element> |
||||
<element label="Resource Type" name="dc:type" type="select"> |
||||
<description>Genre of the content of the resource. Examples |
||||
2007-10-23) |
||||
</description> |
||||
</element> |
||||
<element label="Resource Type" name="dc:type" type="select"> |
||||
<description>Genre of the content of the resource. Examples |
||||
include: home page, novel, poem, working paper, technical |
||||
report, essay, dictionary.</description> |
||||
<authoritative_list> |
||||
<item>none</item> |
||||
<item>video</item> |
||||
<item>event</item> |
||||
<item>image</item> |
||||
<item>interactive resource</item> |
||||
<item>model</item> |
||||
<item>party</item> |
||||
<item>physical object</item> |
||||
<item>place</item> |
||||
<item>service</item> |
||||
<item>software</item> |
||||
<item>sound</item> |
||||
<item>text</item> |
||||
</authoritative_list> |
||||
</element> |
||||
<element label="Source" name="dc:source" type="textfield"> |
||||
<description>A reference to a resource from which the |
||||
present resource is derived.</description> |
||||
</element> |
||||
<element label="Identifier" name="dc:identifier" type="textfield"> |
||||
<description>A unique reference to the resource; In this |
||||
report, essay, dictionary. |
||||
</description> |
||||
<authoritative_list> |
||||
<item>none</item> |
||||
<item>video</item> |
||||
<item>event</item> |
||||
<item>image</item> |
||||
<item>interactive resource</item> |
||||
<item>model</item> |
||||
<item>party</item> |
||||
<item>physical object</item> |
||||
<item>place</item> |
||||
<item>service</item> |
||||
<item>software</item> |
||||
<item>sound</item> |
||||
<item>text</item> |
||||
</authoritative_list> |
||||
</element> |
||||
<element label="Source" name="dc:source" type="textfield"> |
||||
<description>A reference to a resource from which the |
||||
present resource is derived. |
||||
</description> |
||||
</element> |
||||
<element label="Identifier" name="dc:identifier" type="textfield"> |
||||
<description>A unique reference to the resource; In this |
||||
instance, the accession number or collection |
||||
number.</description> |
||||
</element> |
||||
<element label="Language" name="dc:language" type="select"> |
||||
<description>The language of the intellectual content of |
||||
the resource.</description> |
||||
<authoritative_list> |
||||
<item field="eng">English</item> |
||||
<item field="fre">French</item> |
||||
</authoritative_list> |
||||
</element> |
||||
<element label="Relation" name="dc:relation" type="textfield"> |
||||
<description>Reference to a related resource.</description> |
||||
</element> |
||||
<element label="Rights Management" name="dc:rights" type="textarea"> |
||||
<description>Information about intellectual property |
||||
number. |
||||
</description> |
||||
</element> |
||||
<element label="Language" name="dc:language" type="select"> |
||||
<description>The language of the intellectual content of |
||||
the resource. |
||||
</description> |
||||
<authoritative_list> |
||||
<item field="eng">English</item> |
||||
<item field="fre">French</item> |
||||
</authoritative_list> |
||||
</element> |
||||
<element label="Relation" name="dc:relation" type="textfield"> |
||||
<description>Reference to a related resource.</description> |
||||
</element> |
||||
<element label="Rights Management" name="dc:rights" type="textarea"> |
||||
<description>Information about intellectual property |
||||
rights, copyright, and various property |
||||
rights.</description> |
||||
</element> |
||||
</form_elements> |
||||
</ingest_form> |
||||
rights. |
||||
</description> |
||||
</element> |
||||
</form_elements> |
||||
</ingest_form> |
||||
</content_model> |
||||
|
||||
|
@ -1,107 +1,108 @@
|
||||
|
||||
<content_model name="strict_pdf" xmlns="http://www.islandora.ca" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.islandora.ca http://localhost/islandoracm.xsd"> |
||||
<mimetypes> |
||||
<type>application/pdf</type> |
||||
</mimetypes> |
||||
<ingest_rules> |
||||
<rule> |
||||
<applies_to>application/pdf</applies_to> |
||||
<ingest_methods> |
||||
<ingest_method class="ImageManipulation" dsid="TN" file="plugins/ImageManipulation.inc" |
||||
<mimetypes> |
||||
<type>application/pdf</type> |
||||
</mimetypes> |
||||
<ingest_rules> |
||||
<rule> |
||||
<applies_to>application/pdf</applies_to> |
||||
<ingest_methods> |
||||
<ingest_method class="ImageManipulation" dsid="TN" file="plugins/ImageManipulation.inc" |
||||
method="createThumbnailFromPDF" modified_files_ext="jpg" module=""> |
||||
<parameters> |
||||
<parameter name="width">100</parameter> |
||||
<parameter name="height">120</parameter> |
||||
</parameters> |
||||
</ingest_method> |
||||
</ingest_methods> |
||||
</rule> |
||||
</ingest_rules> |
||||
<datastreams> |
||||
<datastream dsid="TN"> |
||||
<display_method class="ShowStreamsInFieldSets" file="plugins/ShowStreamsInFieldSets.inc" method="showPDFPreview" module=""/> |
||||
</datastream> |
||||
<datastream dsid="OBJ"> |
||||
<add_datastream_method class="ImageManipulation" dsid="TN" file="plugins/ImageManipulation.inc" |
||||
<parameters> |
||||
<parameter name="width">100</parameter> |
||||
<parameter name="height">120</parameter> |
||||
</parameters> |
||||
</ingest_method> |
||||
</ingest_methods> |
||||
</rule> |
||||
</ingest_rules> |
||||
<datastreams> |
||||
<datastream dsid="TN"> |
||||
<display_method class="ShowStreamsInFieldSets" file="plugins/ShowStreamsInFieldSets.inc" method="showPDFPreview" module=""/> |
||||
</datastream> |
||||
<datastream dsid="OBJ"> |
||||
<add_datastream_method class="ImageManipulation" dsid="TN" file="plugins/ImageManipulation.inc" |
||||
method="createThumbnailFromPDF" modified_files_ext="jpg" module=""> |
||||
<parameters> |
||||
<parameter name="width">100</parameter> |
||||
<parameter name="height">120</parameter> |
||||
</parameters> |
||||
</add_datastream_method> |
||||
</datastream> |
||||
</datastreams> |
||||
<ingest_form dsid="QDC" page="2"> |
||||
<form_builder_method class="FormBuilder" file="plugins/FormBuilder.inc" handler="handleQDCForm" |
||||
<parameters> |
||||
<parameter name="width">100</parameter> |
||||
<parameter name="height">120</parameter> |
||||
</parameters> |
||||
</add_datastream_method> |
||||
</datastream> |
||||
</datastreams> |
||||
<ingest_form dsid="QDC" page="2"> |
||||
<form_builder_method class="FormBuilder" file="plugins/FormBuilder.inc" handler="handleQDCForm" |
||||
method="buildQDCForm" module=""/> |
||||
<form_elements> |
||||
<element label="Title/Caption/Object Name" name="dc:title" required="true" type="textfield"> |
||||
<description>The name given to the resource</description> |
||||
</element> |
||||
<element label="Creator/Photographer/Author" name="dc:creator" type="textfield"> |
||||
<description>An entity primarily responsible for making the content of the resource such as a person, organization or service.</description> |
||||
</element> |
||||
<element label="Subject" name="dc:subject" type="select"> |
||||
<description>An entity primarily responsible for making the content of the resource such as a person, organization or service.</description> |
||||
<authoritative_list> |
||||
<item>experiment session</item> |
||||
<item>home recording</item> |
||||
<item>image</item> |
||||
<item>meeting</item> |
||||
<item>presentation</item> |
||||
<item>sound</item> |
||||
<item>text</item> |
||||
</authoritative_list> |
||||
</element> |
||||
<element label="Description" name="dc:description" required="true" type="textarea"> |
||||
<description>Examples include an abstract, table of contents, or free-text account of the content of the resource.</description> |
||||
</element> |
||||
<element label="Publisher" name="dc:publisher" type="textfield"> |
||||
<description>An entity, (including persons, organizations, or services), responsible for making the resource available.</description> |
||||
</element> |
||||
<element label="Contributor" name="dc:contributor" type="textfield"> |
||||
<description>An entity responsible for contributing to the content of the resource such as a person, organization or service.</description> |
||||
</element> |
||||
<element label="Date" name="dc:date" type="textfield"> |
||||
<description>Temporal scope of the content if known. Date format is YYYY-MM-DD (e.g. 1890,1910-10,or 2007-10-23)</description> |
||||
</element> |
||||
<element label="Resource Type" name="dc:type" type="select"> |
||||
<description>Genre of the content of the resource. Examples include: home page, novel, poem, working paper, technical report, essay, dictionary.</description> |
||||
<authoritative_list> |
||||
<item>none</item> |
||||
<item>collection</item> |
||||
<item>dataset</item> |
||||
<item>event</item> |
||||
<item>image</item> |
||||
<item>interactive resource</item> |
||||
<item>model</item> |
||||
<item>party</item> |
||||
<item>physical object</item> |
||||
<item>place</item> |
||||
<item>service</item> |
||||
<item>software</item> |
||||
<item>sound</item> |
||||
<item>text</item> |
||||
</authoritative_list> |
||||
</element> |
||||
<element label="Source" name="dc:source" type="textfield"> |
||||
<description>A reference to a resource from which the present resource is derived.</description> |
||||
</element> |
||||
<element label="Identifier" name="dc:identifier" type="textfield"> |
||||
<description>A unique reference to the resource; In this instance, the accession number or collection number.</description> |
||||
</element> |
||||
<element label="Language" name="dc:language" type="select"> |
||||
<description>The language of the intellectual content of the resource.</description> |
||||
<authoritative_list> |
||||
<item field="eng">English</item> |
||||
<item field="fre">French</item> |
||||
</authoritative_list> |
||||
</element> |
||||
<element label="Relation" name="dc:relation" type="textfield"> |
||||
<description>Reference to a related resource.</description> |
||||
</element> |
||||
<element label="Rights Management" name="dc:rights" type="textarea"> |
||||
<description>Information about intellectual property rights, copyright, and various property rights.</description> |
||||
</element> |
||||
</form_elements> |
||||
</ingest_form> |
||||
<form_elements> |
||||
<element label="Title/Caption/Object Name" name="dc:title" required="true" type="textfield"> |
||||
<description>The name given to the resource</description> |
||||
</element> |
||||
<element label="Creator/Photographer/Author" name="dc:creator" type="textfield"> |
||||
<description>An entity primarily responsible for making the content of the resource such as a person, organization or service.</description> |
||||
</element> |
||||
<element label="Subject" name="dc:subject" type="select"> |
||||
<description>An entity primarily responsible for making the content of the resource such as a person, organization or service.</description> |
||||
<authoritative_list> |
||||
<item>experiment session</item> |
||||
<item>home recording</item> |
||||
<item>image</item> |
||||
<item>meeting</item> |
||||
<item>presentation</item> |
||||
<item>sound</item> |
||||
<item>text</item> |
||||
</authoritative_list> |
||||
</element> |
||||
<element label="Description" name="dc:description" required="true" type="textarea"> |
||||
<description>Examples include an abstract, table of contents, or free-text account of the content of the resource.</description> |
||||
</element> |
||||
<element label="Publisher" name="dc:publisher" type="textfield"> |
||||
<description>An entity, (including persons, organizations, or services), responsible for making the resource available.</description> |
||||
</element> |
||||
<element label="Contributor" name="dc:contributor" type="textfield"> |
||||
<description>An entity responsible for contributing to the content of the resource such as a person, organization or service.</description> |
||||
</element> |
||||
<element label="Date" name="dc:date" type="textfield"> |
||||
<description>Temporal scope of the content if known. Date format is YYYY-MM-DD (e.g. 1890,1910-10,or 2007-10-23)</description> |
||||
</element> |
||||
<element label="Resource Type" name="dc:type" type="select"> |
||||
<description>Genre of the content of the resource. Examples include: home page, novel, poem, working paper, technical report, essay, dictionary.</description> |
||||
<authoritative_list> |
||||
<item>none</item> |
||||
<item>collection</item> |
||||
<item>dataset</item> |
||||
<item>event</item> |
||||
<item>image</item> |
||||
<item>interactive resource</item> |
||||
<item>model</item> |
||||
<item>party</item> |
||||
<item>physical object</item> |
||||
<item>place</item> |
||||
<item>service</item> |
||||
<item>software</item> |
||||
<item>sound</item> |
||||
<item>text</item> |
||||
</authoritative_list> |
||||
</element> |
||||
<element label="Source" name="dc:source" type="textfield"> |
||||
<description>A reference to a resource from which the present resource is derived.</description> |
||||
</element> |
||||
<element label="Identifier" name="dc:identifier" type="textfield"> |
||||
<description>A unique reference to the resource; In this instance, the accession number or collection number.</description> |
||||
</element> |
||||
<element label="Language" name="dc:language" type="select"> |
||||
<description>The language of the intellectual content of the resource.</description> |
||||
<authoritative_list> |
||||
<item field="eng">English</item> |
||||
<item field="fre">French</item> |
||||
</authoritative_list> |
||||
</element> |
||||
<element label="Relation" name="dc:relation" type="textfield"> |
||||
<description>Reference to a related resource.</description> |
||||
</element> |
||||
<element label="Rights Management" name="dc:rights" type="textarea"> |
||||
<description>Information about intellectual property rights, copyright, and various property rights.</description> |
||||
</element> |
||||
</form_elements> |
||||
</ingest_form> |
||||
</content_model> |
||||
|
@ -1,65 +1,65 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<foxml:digitalObject PID="demo:Collection" VERSION="1.1" xmlns:foxml="info:fedora/fedora-system:def/foxml#" |
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="info:fedora/fedora-system:def/foxml# http://www.fedora.info/definitions/1/0/foxml1-1.xsd"> |
||||
<foxml:objectProperties> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#state" VALUE="Active"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#label" VALUE="Service Definition Object (Collection) for Image Collection Demo"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#ownerId" VALUE="fedoraAdmin"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#createdDate" VALUE="2008-07-02T05:09:42.015Z"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/view#lastModifiedDate" VALUE="2011-03-29T14:15:20.712Z"/> |
||||
</foxml:objectProperties> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="AUDIT" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2008-07-02T05:09:42.015Z" |
||||
<foxml:objectProperties> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#state" VALUE="Active"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#label" VALUE="Service Definition Object (Collection) for Image Collection Demo"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#ownerId" VALUE="fedoraAdmin"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#createdDate" VALUE="2008-07-02T05:09:42.015Z"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/view#lastModifiedDate" VALUE="2011-03-29T14:15:20.712Z"/> |
||||
</foxml:objectProperties> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="AUDIT" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2008-07-02T05:09:42.015Z" |
||||
FORMAT_URI="info:fedora/fedora-system:format/xml.fedora.audit" ID="AUDIT.0" LABEL="Audit Trail for this object" MIMETYPE="text/xml"> |
||||
<foxml:xmlContent> |
||||
<audit:auditTrail xmlns:audit="info:fedora/fedora-system:def/audit#"> |
||||
<audit:record ID="AUDREC1"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>ingest</audit:action> |
||||
<audit:componentID/> |
||||
<audit:responsibility>fedoraAdmin</audit:responsibility> |
||||
<audit:date>2011-03-29T14:15:20.712Z</audit:date> |
||||
<audit:justification>Ingested from local file /usr/local/fedora/client/demo/foxml/local-server-demos/image-collection-demo/sDefObjects/demo_Collection.xml</audit:justification> |
||||
</audit:record> |
||||
</audit:auditTrail> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="DC" STATE="A" VERSIONABLE="true"> |
||||
<foxml:datastreamVersion CREATED="2008-07-02T05:09:43.125Z" FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/" |
||||
<foxml:xmlContent> |
||||
<audit:auditTrail xmlns:audit="info:fedora/fedora-system:def/audit#"> |
||||
<audit:record ID="AUDREC1"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>ingest</audit:action> |
||||
<audit:componentID/> |
||||
<audit:responsibility>fedoraAdmin</audit:responsibility> |
||||
<audit:date>2011-03-29T14:15:20.712Z</audit:date> |
||||
<audit:justification>Ingested from local file /usr/local/fedora/client/demo/foxml/local-server-demos/image-collection-demo/sDefObjects/demo_Collection.xml</audit:justification> |
||||
</audit:record> |
||||
</audit:auditTrail> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="DC" STATE="A" VERSIONABLE="true"> |
||||
<foxml:datastreamVersion CREATED="2008-07-02T05:09:43.125Z" FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/" |
||||
ID="DC1.0" LABEL="Dublin Core Record for this object" MIMETYPE="text/xml" SIZE="432"> |
||||
<foxml:xmlContent> |
||||
<oai_dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/" |
||||
<foxml:xmlContent> |
||||
<oai_dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/" |
||||
xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" |
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd"> |
||||
<dc:title>Service Definition Object (Collection) for Image Collection Demo</dc:title> |
||||
<dc:identifier>demo:Collection</dc:identifier> |
||||
</oai_dc:dc> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="RELS-EXT" STATE="A" VERSIONABLE="true"> |
||||
<foxml:datastreamVersion CREATED="2008-07-02T05:09:43.125Z" FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-1.0" |
||||
<dc:title>Service Definition Object (Collection) for Image Collection Demo</dc:title> |
||||
<dc:identifier>demo:Collection</dc:identifier> |
||||
</oai_dc:dc> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="RELS-EXT" STATE="A" VERSIONABLE="true"> |
||||
<foxml:datastreamVersion CREATED="2008-07-02T05:09:43.125Z" FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-1.0" |
||||
ID="RELS-EXT1.0" LABEL="RDF Statements about this object" MIMETYPE="application/rdf+xml" SIZE="404"> |
||||
<foxml:xmlContent> |
||||
<rdf:RDF xmlns:fedora-model="info:fedora/fedora-system:def/model#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> |
||||
<rdf:Description rdf:about="info:fedora/demo:Collection"> |
||||
<fedora-model:hasModel rdf:resource="info:fedora/fedora-system:ServiceDefinition-3.0"/> |
||||
</rdf:Description> |
||||
</rdf:RDF> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="METHODMAP" STATE="A" VERSIONABLE="true"> |
||||
<foxml:datastreamVersion CREATED="2008-07-02T05:09:43.125Z" |
||||
<foxml:xmlContent> |
||||
<rdf:RDF xmlns:fedora-model="info:fedora/fedora-system:def/model#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> |
||||
<rdf:Description rdf:about="info:fedora/demo:Collection"> |
||||
<fedora-model:hasModel rdf:resource="info:fedora/fedora-system:ServiceDefinition-3.0"/> |
||||
</rdf:Description> |
||||
</rdf:RDF> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="METHODMAP" STATE="A" VERSIONABLE="true"> |
||||
<foxml:datastreamVersion CREATED="2008-07-02T05:09:43.125Z" |
||||
FORMAT_URI="info:fedora/fedora-system:FedoraSDefMethodMap-1.0" ID="METHODMAP1.0" LABEL="Abstract Method Map" |
||||
MIMETYPE="text/xml" SIZE="401"> |
||||
<foxml:xmlContent> |
||||
<fmm:MethodMap name="MethodMap - Collection of Objects" xmlns:fmm="http://fedora.comm.nsdlib.org/service/methodmap"> |
||||
<fmm:Method operationLabel="An xml list of members in the collection" operationName="list"/> |
||||
<fmm:Method operationLabel="An html representation of the collection" operationName="view"/> |
||||
</fmm:MethodMap> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:xmlContent> |
||||
<fmm:MethodMap name="MethodMap - Collection of Objects" xmlns:fmm="http://fedora.comm.nsdlib.org/service/methodmap"> |
||||
<fmm:Method operationLabel="An xml list of members in the collection" operationName="list"/> |
||||
<fmm:Method operationLabel="An html representation of the collection" operationName="view"/> |
||||
</fmm:MethodMap> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
</foxml:digitalObject> |
||||
|
@ -1,196 +1,196 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<foxml:digitalObject PID="demo:CollectionImpl" VERSION="1.1" xmlns:foxml="info:fedora/fedora-system:def/foxml#" |
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="info:fedora/fedora-system:def/foxml# http://www.fedora.info/definitions/1/0/foxml1-1.xsd"> |
||||
<foxml:objectProperties> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#state" VALUE="Active"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#label" VALUE="Service Deployment Object (Collection) for Image Collection Demo"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#ownerId" VALUE="fedoraAdmin"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#createdDate" VALUE="2008-07-02T05:09:42.015Z"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/view#lastModifiedDate" VALUE="2011-03-29T14:15:20.819Z"/> |
||||
</foxml:objectProperties> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="AUDIT" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2008-07-02T05:09:42.015Z" |
||||
<foxml:objectProperties> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#state" VALUE="Active"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#label" VALUE="Service Deployment Object (Collection) for Image Collection Demo"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#ownerId" VALUE="fedoraAdmin"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#createdDate" VALUE="2008-07-02T05:09:42.015Z"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/view#lastModifiedDate" VALUE="2011-03-29T14:15:20.819Z"/> |
||||
</foxml:objectProperties> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="AUDIT" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2008-07-02T05:09:42.015Z" |
||||
FORMAT_URI="info:fedora/fedora-system:format/xml.fedora.audit" ID="AUDIT.0" LABEL="Audit Trail for this object" MIMETYPE="text/xml"> |
||||
<foxml:xmlContent> |
||||
<audit:auditTrail xmlns:audit="info:fedora/fedora-system:def/audit#"> |
||||
<audit:record ID="AUDREC1"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>ingest</audit:action> |
||||
<audit:componentID/> |
||||
<audit:responsibility>fedoraAdmin</audit:responsibility> |
||||
<audit:date>2011-03-29T14:15:20.819Z</audit:date> |
||||
<audit:justification>Ingested from local file /usr/local/fedora/client/demo/foxml/local-server-demos/image-collection-demo/sDepObjects/demo_CollectionImpl.xml</audit:justification> |
||||
</audit:record> |
||||
</audit:auditTrail> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="DC" STATE="A" VERSIONABLE="true"> |
||||
<foxml:datastreamVersion CREATED="2008-07-02T05:09:43.171Z" FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/" |
||||
<foxml:xmlContent> |
||||
<audit:auditTrail xmlns:audit="info:fedora/fedora-system:def/audit#"> |
||||
<audit:record ID="AUDREC1"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>ingest</audit:action> |
||||
<audit:componentID/> |
||||
<audit:responsibility>fedoraAdmin</audit:responsibility> |
||||
<audit:date>2011-03-29T14:15:20.819Z</audit:date> |
||||
<audit:justification>Ingested from local file /usr/local/fedora/client/demo/foxml/local-server-demos/image-collection-demo/sDepObjects/demo_CollectionImpl.xml</audit:justification> |
||||
</audit:record> |
||||
</audit:auditTrail> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="DC" STATE="A" VERSIONABLE="true"> |
||||
<foxml:datastreamVersion CREATED="2008-07-02T05:09:43.171Z" FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/" |
||||
ID="DC1.0" LABEL="Dublin Core Record for this object" MIMETYPE="text/xml" SIZE="494"> |
||||
<foxml:xmlContent> |
||||
<oai_dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/" |
||||
<foxml:xmlContent> |
||||
<oai_dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/" |
||||
xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" |
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd"> |
||||
<dc:title>Service Deployment Object (Collection) for Image Collection Demo</dc:title> |
||||
<dc:identifier>demo:ImageCollectionImpl</dc:identifier> |
||||
<dc:identifier>demo:CollectionImpl</dc:identifier> |
||||
</oai_dc:dc> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="RELS-EXT" STATE="A" VERSIONABLE="true"> |
||||
<foxml:datastreamVersion CREATED="2008-07-02T05:09:43.171Z" FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-1.0" |
||||
<dc:title>Service Deployment Object (Collection) for Image Collection Demo</dc:title> |
||||
<dc:identifier>demo:ImageCollectionImpl</dc:identifier> |
||||
<dc:identifier>demo:CollectionImpl</dc:identifier> |
||||
</oai_dc:dc> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="RELS-EXT" STATE="A" VERSIONABLE="true"> |
||||
<foxml:datastreamVersion CREATED="2008-07-02T05:09:43.171Z" FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-1.0" |
||||
ID="RELS-EXT.1" LABEL="RDF Statements about this object" MIMETYPE="application/rdf+xml" SIZE="674"> |
||||
<foxml:xmlContent> |
||||
<rdf:RDF xmlns:fedora-model="info:fedora/fedora-system:def/model#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> |
||||
<rdf:Description rdf:about="info:fedora/demo:CollectionImpl"> |
||||
<fedora-model:hasModel rdf:resource="info:fedora/fedora-system:ServiceDeployment-3.0"/> |
||||
<fedora-model:isDeploymentOf rdf:resource="info:fedora/demo:Collection"/> |
||||
<fedora-model:isContractorOf rdf:resource="info:fedora/demo:DualResImageCollection"/> |
||||
</rdf:Description> |
||||
</rdf:RDF> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="METHODMAP" STATE="A" VERSIONABLE="true"> |
||||
<foxml:datastreamVersion CREATED="2008-07-02T05:09:43.171Z" |
||||
<foxml:xmlContent> |
||||
<rdf:RDF xmlns:fedora-model="info:fedora/fedora-system:def/model#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> |
||||
<rdf:Description rdf:about="info:fedora/demo:CollectionImpl"> |
||||
<fedora-model:hasModel rdf:resource="info:fedora/fedora-system:ServiceDeployment-3.0"/> |
||||
<fedora-model:isDeploymentOf rdf:resource="info:fedora/demo:Collection"/> |
||||
<fedora-model:isContractorOf rdf:resource="info:fedora/demo:DualResImageCollection"/> |
||||
</rdf:Description> |
||||
</rdf:RDF> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="METHODMAP" STATE="A" VERSIONABLE="true"> |
||||
<foxml:datastreamVersion CREATED="2008-07-02T05:09:43.171Z" |
||||
FORMAT_URI="info:fedora/fedora-system:FedoraSDepMethodMap-1.1" ID="METHODMAP1.0" LABEL="Deployment Method Map" |
||||
MIMETYPE="text/xml" SIZE="1948"> |
||||
<foxml:xmlContent> |
||||
<fmm:MethodMap name="MethodMap - Image Collection" xmlns:fmm="http://fedora.comm.nsdlib.org/service/methodmap"> |
||||
<fmm:Method operationLabel="An html representation of the collection" operationName="view" |
||||
<foxml:xmlContent> |
||||
<fmm:MethodMap name="MethodMap - Image Collection" xmlns:fmm="http://fedora.comm.nsdlib.org/service/methodmap"> |
||||
<fmm:Method operationLabel="An html representation of the collection" operationName="view" |
||||
wsdlMsgName="viewRequest" wsdlMsgOutput="dissemResponse"> |
||||
<fmm:DatastreamInputParm label="Stylesheet to transform LIST into html" parmName="XSLT" passBy="URL_REF" required="true"/> |
||||
<fmm:DatastreamInputParm label="The result of the list dissemination as a datastream" parmName="LIST" |
||||
<fmm:DatastreamInputParm label="Stylesheet to transform LIST into html" parmName="XSLT" passBy="URL_REF" required="true"/> |
||||
<fmm:DatastreamInputParm label="The result of the list dissemination as a datastream" parmName="LIST" |
||||
passBy="URL_REF" required="true"/> |
||||
<fmm:DefaultInputParm defaultValue="yes" label="Whether to reload the stylesheet each time" |
||||
<fmm:DefaultInputParm defaultValue="yes" label="Whether to reload the stylesheet each time" |
||||
parmName="CLEAR_CACHE" passBy="VALUE" required="true"/> |
||||
<fmm:MethodReturnType wsdlMsgName="dissemResponse" wsdlMsgTOMIME="text/html"/> |
||||
</fmm:Method> |
||||
<fmm:Method operationLabel="An xml list of members in the collection" operationName="list" |
||||
<fmm:MethodReturnType wsdlMsgName="dissemResponse" wsdlMsgTOMIME="text/html"/> |
||||
</fmm:Method> |
||||
<fmm:Method operationLabel="An xml list of members in the collection" operationName="list" |
||||
wsdlMsgName="listRequest" wsdlMsgOutput="dissemResponse"> |
||||
<fmm:DatastreamInputParm defaultValue="" label="" parmName="QUERY" passBy="URL_REF" required="true"/> |
||||
<fmm:DefaultInputParm defaultValue="tuples" label="" parmName="TYPE" passBy="VALUE" required="true"/> |
||||
<fmm:DefaultInputParm defaultValue="itql" label="" parmName="LANG" passBy="VALUE" required="true"/> |
||||
<fmm:DefaultInputParm defaultValue="Sparql" label="" parmName="FORMAT" passBy="VALUE" required="true"/> |
||||
<fmm:MethodReturnType wsdlMsgName="dissemResponse" wsdlMsgTOMIME="text/xml"/> |
||||
</fmm:Method> |
||||
</fmm:MethodMap> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="DSINPUTSPEC" STATE="A" VERSIONABLE="true"> |
||||
<foxml:datastreamVersion CREATED="2004-12-17T15:32:11.000Z" |
||||
<fmm:DatastreamInputParm defaultValue="" label="" parmName="QUERY" passBy="URL_REF" required="true"/> |
||||
<fmm:DefaultInputParm defaultValue="tuples" label="" parmName="TYPE" passBy="VALUE" required="true"/> |
||||
<fmm:DefaultInputParm defaultValue="itql" label="" parmName="LANG" passBy="VALUE" required="true"/> |
||||
<fmm:DefaultInputParm defaultValue="Sparql" label="" parmName="FORMAT" passBy="VALUE" required="true"/> |
||||
<fmm:MethodReturnType wsdlMsgName="dissemResponse" wsdlMsgTOMIME="text/xml"/> |
||||
</fmm:Method> |
||||
</fmm:MethodMap> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="DSINPUTSPEC" STATE="A" VERSIONABLE="true"> |
||||
<foxml:datastreamVersion CREATED="2004-12-17T15:32:11.000Z" |
||||
FORMAT_URI="info:fedora/fedora-system:FedoraDSInputSpec-1.1" ID="DSINPUTSPEC1.0" |
||||
LABEL="Datastream Input Specification" MIMETYPE="text/xml" SIZE="1194"> |
||||
<foxml:xmlContent> |
||||
<fbs:DSInputSpec label="Datastream Input Specification for Image Collection" xmlns:fbs="http://fedora.comm.nsdlib.org/service/bindspec"> |
||||
<fbs:DSInput DSMax="1" DSMin="1" DSOrdinality="false" wsdlMsgPartName="XSLT"> |
||||
<fbs:DSInputLabel>XSLT Binding</fbs:DSInputLabel> |
||||
<fbs:DSMIME>text/xml</fbs:DSMIME> |
||||
<fbs:DSInputInstruction/> |
||||
</fbs:DSInput> |
||||
<fbs:DSInput DSMax="1" DSMin="1" DSOrdinality="false" wsdlMsgPartName="LIST"> |
||||
<fbs:DSInputLabel>LIST Binding</fbs:DSInputLabel> |
||||
<fbs:DSMIME>text/xml</fbs:DSMIME> |
||||
<fbs:DSInputInstruction/> |
||||
</fbs:DSInput> |
||||
<fbs:DSInput DSMax="1" DSMin="1" DSOrdinality="false" wsdlMsgPartName="QUERY"> |
||||
<fbs:DSInputLabel>QUERY Binding</fbs:DSInputLabel> |
||||
<fbs:DSMIME>text/plain</fbs:DSMIME> |
||||
<fbs:DSInputInstruction/> |
||||
</fbs:DSInput> |
||||
</fbs:DSInputSpec> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="WSDL" STATE="A" VERSIONABLE="true"> |
||||
<foxml:datastreamVersion CREATED="2008-07-02T05:09:43.171Z" FORMAT_URI="http://schemas.xmlsoap.org/wsdl/" |
||||
<foxml:xmlContent> |
||||
<fbs:DSInputSpec label="Datastream Input Specification for Image Collection" xmlns:fbs="http://fedora.comm.nsdlib.org/service/bindspec"> |
||||
<fbs:DSInput DSMax="1" DSMin="1" DSOrdinality="false" wsdlMsgPartName="XSLT"> |
||||
<fbs:DSInputLabel>XSLT Binding</fbs:DSInputLabel> |
||||
<fbs:DSMIME>text/xml</fbs:DSMIME> |
||||
<fbs:DSInputInstruction/> |
||||
</fbs:DSInput> |
||||
<fbs:DSInput DSMax="1" DSMin="1" DSOrdinality="false" wsdlMsgPartName="LIST"> |
||||
<fbs:DSInputLabel>LIST Binding</fbs:DSInputLabel> |
||||
<fbs:DSMIME>text/xml</fbs:DSMIME> |
||||
<fbs:DSInputInstruction/> |
||||
</fbs:DSInput> |
||||
<fbs:DSInput DSMax="1" DSMin="1" DSOrdinality="false" wsdlMsgPartName="QUERY"> |
||||
<fbs:DSInputLabel>QUERY Binding</fbs:DSInputLabel> |
||||
<fbs:DSMIME>text/plain</fbs:DSMIME> |
||||
<fbs:DSInputInstruction/> |
||||
</fbs:DSInput> |
||||
</fbs:DSInputSpec> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="WSDL" STATE="A" VERSIONABLE="true"> |
||||
<foxml:datastreamVersion CREATED="2008-07-02T05:09:43.171Z" FORMAT_URI="http://schemas.xmlsoap.org/wsdl/" |
||||
ID="WSDL1.0" LABEL="WSDL Bindings" MIMETYPE="text/xml" SIZE="5242"> |
||||
<foxml:xmlContent> |
||||
<wsdl:definitions name="ImageCollection" targetNamespace="bmech" |
||||
<foxml:xmlContent> |
||||
<wsdl:definitions name="ImageCollection" targetNamespace="bmech" |
||||
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" |
||||
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap" |
||||
xmlns:soapenc="http://schemas.xmlsoap.org/wsdl/soap/encoding" xmlns:this="bmech" |
||||
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> |
||||
<wsdl:types> |
||||
<xsd:schema targetNamespace="bmech"> |
||||
<xsd:simpleType name="TYPEType"> |
||||
<xsd:restriction base="xsd:string"/> |
||||
</xsd:simpleType> |
||||
<xsd:simpleType name="QUERYType"> |
||||
<xsd:restriction base="xsd:string"/> |
||||
</xsd:simpleType> |
||||
<xsd:simpleType name="XSLTType"> |
||||
<xsd:restriction base="xsd:string"/> |
||||
</xsd:simpleType> |
||||
<xsd:simpleType name="LANGType"> |
||||
<xsd:restriction base="xsd:string"/> |
||||
</xsd:simpleType> |
||||
<xsd:simpleType name="LISTType"> |
||||
<xsd:restriction base="xsd:string"/> |
||||
</xsd:simpleType> |
||||
<xsd:simpleType name="CLEAR_CACHEType"> |
||||
<xsd:restriction base="xsd:string"/> |
||||
</xsd:simpleType> |
||||
<xsd:simpleType name="FORMATType"> |
||||
<xsd:restriction base="xsd:string"/> |
||||
</xsd:simpleType> |
||||
</xsd:schema> |
||||
</wsdl:types> |
||||
<wsdl:message name="viewRequest"> |
||||
<wsdl:part name="XSLT" type="this:XSLTType"/> |
||||
<wsdl:part name="LIST" type="this:LISTType"/> |
||||
<wsdl:part name="CLEAR_CACHE" type="this:CLEAR_CACHEType"/> |
||||
</wsdl:message> |
||||
<wsdl:message name="listRequest"> |
||||
<wsdl:part name="TYPE" type="this:TYPEType"/> |
||||
<wsdl:part name="QUERY" type="this:QUERYType"/> |
||||
<wsdl:part name="LANG" type="this:LANGType"/> |
||||
<wsdl:part name="FORMAT" type="this:FORMATType"/> |
||||
</wsdl:message> |
||||
<wsdl:message name="dissemResponse"> |
||||
<wsdl:part name="dissem" type="xsd:base64Binary"/> |
||||
</wsdl:message> |
||||
<wsdl:portType name="ImageCollectionPortType"> |
||||
<wsdl:operation name="view"> |
||||
<wsdl:input message="this:viewRequest"/> |
||||
<wsdl:output message="this:dissemResponse"/> |
||||
</wsdl:operation> |
||||
<wsdl:operation name="list"> |
||||
<wsdl:input message="this:listRequest"/> |
||||
<wsdl:output message="this:dissemResponse"/> |
||||
</wsdl:operation> |
||||
</wsdl:portType> |
||||
<wsdl:service name="ImageCollection"> |
||||
<wsdl:port binding="this:ImageCollection_http" name="ImageCollection_port"> |
||||
<http:address location="LOCAL"/> |
||||
</wsdl:port> |
||||
</wsdl:service> |
||||
<wsdl:binding name="ImageCollection_http" type="this:ImageCollectionPortType"> |
||||
<http:binding verb="GET"/> |
||||
<wsdl:operation name="view"> |
||||
<http:operation location="http://local.fedora.server/saxon/SaxonServlet?source=(LIST)&style=(XSLT)&clear-stylesheet-cache=(CLEAR_CACHE)"/> |
||||
<wsdl:input> |
||||
<http:urlReplacement/> |
||||
</wsdl:input> |
||||
<wsdl:output> |
||||
<mime:content type="text/html"/> |
||||
</wsdl:output> |
||||
</wsdl:operation> |
||||
<wsdl:operation name="list"> |
||||
<http:operation location="http://local.fedora.server/fedora/risearch?type=(TYPE)&lang=(LANG)&format=(FORMAT)&query=(QUERY)"/> |
||||
<wsdl:input> |
||||
<http:urlReplacement/> |
||||
</wsdl:input> |
||||
<wsdl:output> |
||||
<mime:content type="text/xml"/> |
||||
</wsdl:output> |
||||
</wsdl:operation> |
||||
</wsdl:binding> |
||||
</wsdl:definitions> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<wsdl:types> |
||||
<xsd:schema targetNamespace="bmech"> |
||||
<xsd:simpleType name="TYPEType"> |
||||
<xsd:restriction base="xsd:string"/> |
||||
</xsd:simpleType> |
||||
<xsd:simpleType name="QUERYType"> |
||||
<xsd:restriction base="xsd:string"/> |
||||
</xsd:simpleType> |
||||
<xsd:simpleType name="XSLTType"> |
||||
<xsd:restriction base="xsd:string"/> |
||||
</xsd:simpleType> |
||||
<xsd:simpleType name="LANGType"> |
||||
<xsd:restriction base="xsd:string"/> |
||||
</xsd:simpleType> |
||||
<xsd:simpleType name="LISTType"> |
||||
<xsd:restriction base="xsd:string"/> |
||||
</xsd:simpleType> |
||||
<xsd:simpleType name="CLEAR_CACHEType"> |
||||
<xsd:restriction base="xsd:string"/> |
||||
</xsd:simpleType> |
||||
<xsd:simpleType name="FORMATType"> |
||||
<xsd:restriction base="xsd:string"/> |
||||
</xsd:simpleType> |
||||
</xsd:schema> |
||||
</wsdl:types> |
||||
<wsdl:message name="viewRequest"> |
||||
<wsdl:part name="XSLT" type="this:XSLTType"/> |
||||
<wsdl:part name="LIST" type="this:LISTType"/> |
||||
<wsdl:part name="CLEAR_CACHE" type="this:CLEAR_CACHEType"/> |
||||
</wsdl:message> |
||||
<wsdl:message name="listRequest"> |
||||
<wsdl:part name="TYPE" type="this:TYPEType"/> |
||||
<wsdl:part name="QUERY" type="this:QUERYType"/> |
||||
<wsdl:part name="LANG" type="this:LANGType"/> |
||||
<wsdl:part name="FORMAT" type="this:FORMATType"/> |
||||
</wsdl:message> |
||||
<wsdl:message name="dissemResponse"> |
||||
<wsdl:part name="dissem" type="xsd:base64Binary"/> |
||||
</wsdl:message> |
||||
<wsdl:portType name="ImageCollectionPortType"> |
||||
<wsdl:operation name="view"> |
||||
<wsdl:input message="this:viewRequest"/> |
||||
<wsdl:output message="this:dissemResponse"/> |
||||
</wsdl:operation> |
||||
<wsdl:operation name="list"> |
||||
<wsdl:input message="this:listRequest"/> |
||||
<wsdl:output message="this:dissemResponse"/> |
||||
</wsdl:operation> |
||||
</wsdl:portType> |
||||
<wsdl:service name="ImageCollection"> |
||||
<wsdl:port binding="this:ImageCollection_http" name="ImageCollection_port"> |
||||
<http:address location="LOCAL"/> |
||||
</wsdl:port> |
||||
</wsdl:service> |
||||
<wsdl:binding name="ImageCollection_http" type="this:ImageCollectionPortType"> |
||||
<http:binding verb="GET"/> |
||||
<wsdl:operation name="view"> |
||||
<http:operation location="http://local.fedora.server/saxon/SaxonServlet?source=(LIST)&style=(XSLT)&clear-stylesheet-cache=(CLEAR_CACHE)"/> |
||||
<wsdl:input> |
||||
<http:urlReplacement/> |
||||
</wsdl:input> |
||||
<wsdl:output> |
||||
<mime:content type="text/html"/> |
||||
</wsdl:output> |
||||
</wsdl:operation> |
||||
<wsdl:operation name="list"> |
||||
<http:operation location="http://local.fedora.server/fedora/risearch?type=(TYPE)&lang=(LANG)&format=(FORMAT)&query=(QUERY)"/> |
||||
<wsdl:input> |
||||
<http:urlReplacement/> |
||||
</wsdl:input> |
||||
<wsdl:output> |
||||
<mime:content type="text/xml"/> |
||||
</wsdl:output> |
||||
</wsdl:operation> |
||||
</wsdl:binding> |
||||
</wsdl:definitions> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
</foxml:digitalObject> |
||||
|
@ -1,76 +1,76 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<foxml:digitalObject PID="demo:DualResImage" VERSION="1.1" xmlns:foxml="info:fedora/fedora-system:def/foxml#" |
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="info:fedora/fedora-system:def/foxml# http://www.fedora.info/definitions/1/0/foxml1-1.xsd"> |
||||
<foxml:objectProperties> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#state" VALUE="Active"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#label" VALUE="Content Model Object (Image) for Image Collection Demo"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#ownerId" VALUE="fedoraAdmin"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#createdDate" VALUE="2007-08-15T14:36:32.085Z"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/view#lastModifiedDate" VALUE="2011-03-29T14:15:19.456Z"/> |
||||
</foxml:objectProperties> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="AUDIT" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2007-08-15T14:36:32.085Z" |
||||
<foxml:objectProperties> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#state" VALUE="Active"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#label" VALUE="Content Model Object (Image) for Image Collection Demo"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#ownerId" VALUE="fedoraAdmin"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#createdDate" VALUE="2007-08-15T14:36:32.085Z"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/view#lastModifiedDate" VALUE="2011-03-29T14:15:19.456Z"/> |
||||
</foxml:objectProperties> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="AUDIT" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2007-08-15T14:36:32.085Z" |
||||
FORMAT_URI="info:fedora/fedora-system:format/xml.fedora.audit" ID="AUDIT.0" LABEL="Audit Trail for this object" MIMETYPE="text/xml"> |
||||
<foxml:xmlContent> |
||||
<audit:auditTrail xmlns:audit="info:fedora/fedora-system:def/audit#"> |
||||
<audit:record ID="AUDREC1"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>ingest</audit:action> |
||||
<audit:componentID/> |
||||
<audit:responsibility>fedoraAdmin</audit:responsibility> |
||||
<audit:date>2011-03-29T14:15:19.456Z</audit:date> |
||||
<audit:justification>Ingested from local file /usr/local/fedora/client/demo/foxml/local-server-demos/image-collection-demo/cModelObjects/demo_DualResImage.xml</audit:justification> |
||||
</audit:record> |
||||
</audit:auditTrail> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="DC" STATE="A" VERSIONABLE="true"> |
||||
<foxml:datastreamVersion CREATED="2008-07-02T05:09:42.890Z" FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/" |
||||
<foxml:xmlContent> |
||||
<audit:auditTrail xmlns:audit="info:fedora/fedora-system:def/audit#"> |
||||
<audit:record ID="AUDREC1"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>ingest</audit:action> |
||||
<audit:componentID/> |
||||
<audit:responsibility>fedoraAdmin</audit:responsibility> |
||||
<audit:date>2011-03-29T14:15:19.456Z</audit:date> |
||||
<audit:justification>Ingested from local file /usr/local/fedora/client/demo/foxml/local-server-demos/image-collection-demo/cModelObjects/demo_DualResImage.xml</audit:justification> |
||||
</audit:record> |
||||
</audit:auditTrail> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="DC" STATE="A" VERSIONABLE="true"> |
||||
<foxml:datastreamVersion CREATED="2008-07-02T05:09:42.890Z" FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/" |
||||
ID="DC1.0" LABEL="Dublin Core Record for this object" MIMETYPE="text/xml" SIZE="424"> |
||||
<foxml:xmlContent> |
||||
<oai_dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/" |
||||
<foxml:xmlContent> |
||||
<oai_dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/" |
||||
xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" |
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd"> |
||||
<dc:title>Content Model Object (Image) for Image Collection Demo</dc:title> |
||||
<dc:identifier>demo:DualResImage</dc:identifier> |
||||
</oai_dc:dc> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="RELS-EXT" STATE="A" VERSIONABLE="true"> |
||||
<foxml:datastreamVersion CREATED="2008-07-02T05:09:42.890Z" FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-1.0" |
||||
<dc:title>Content Model Object (Image) for Image Collection Demo</dc:title> |
||||
<dc:identifier>demo:DualResImage</dc:identifier> |
||||
</oai_dc:dc> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="RELS-EXT" STATE="A" VERSIONABLE="true"> |
||||
<foxml:datastreamVersion CREATED="2008-07-02T05:09:42.890Z" FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-1.0" |
||||
ID="RELS-EXT.0" LABEL="RDF Statements about this object" MIMETYPE="application/rdf+xml" SIZE="472"> |
||||
<foxml:xmlContent> |
||||
<rdf:RDF xmlns:fedora-model="info:fedora/fedora-system:def/model#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> |
||||
<rdf:Description rdf:about="info:fedora/demo:DualResImage"> |
||||
<fedora-model:hasModel rdf:resource="info:fedora/fedora-system:ContentModel-3.0"/> |
||||
<fedora-model:hasService rdf:resource="info:fedora/demo:DualResolution"/> |
||||
</rdf:Description> |
||||
</rdf:RDF> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="DS-COMPOSITE-MODEL" STATE="A" VERSIONABLE="true"> |
||||
<foxml:datastreamVersion CREATED="2007-08-15T14:36:30.369Z" |
||||
<foxml:xmlContent> |
||||
<rdf:RDF xmlns:fedora-model="info:fedora/fedora-system:def/model#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> |
||||
<rdf:Description rdf:about="info:fedora/demo:DualResImage"> |
||||
<fedora-model:hasModel rdf:resource="info:fedora/fedora-system:ContentModel-3.0"/> |
||||
<fedora-model:hasService rdf:resource="info:fedora/demo:DualResolution"/> |
||||
</rdf:Description> |
||||
</rdf:RDF> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="DS-COMPOSITE-MODEL" STATE="A" VERSIONABLE="true"> |
||||
<foxml:datastreamVersion CREATED="2007-08-15T14:36:30.369Z" |
||||
FORMAT_URI="info:fedora/fedora-system:FedoraDSCompositeModel-1.0" ID="DS-COMPOSITE-MODEL1.0" |
||||
LABEL="Datastream Composite Model" MIMETYPE="text/xml" SIZE="651"> |
||||
<foxml:xmlContent> |
||||
<dsCompositeModel xmlns="info:fedora/fedora-system:def/dsCompositeModel#"> |
||||
<dsTypeModel ID="DC"> |
||||
<form FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/" MIME="text/xml"/> |
||||
</dsTypeModel> |
||||
<dsTypeModel ID="RELS-EXT"> |
||||
<form FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-1.0" MIME="application/rdf+xml"/> |
||||
</dsTypeModel> |
||||
<dsTypeModel ID="MEDIUM_SIZE"> |
||||
<form MIME="image/jpeg"/> |
||||
</dsTypeModel> |
||||
<dsTypeModel ID="FULL_SIZE"> |
||||
<form MIME="image/jpeg"/> |
||||
</dsTypeModel> |
||||
</dsCompositeModel> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:xmlContent> |
||||
<dsCompositeModel xmlns="info:fedora/fedora-system:def/dsCompositeModel#"> |
||||
<dsTypeModel ID="DC"> |
||||
<form FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/" MIME="text/xml"/> |
||||
</dsTypeModel> |
||||
<dsTypeModel ID="RELS-EXT"> |
||||
<form FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-1.0" MIME="application/rdf+xml"/> |
||||
</dsTypeModel> |
||||
<dsTypeModel ID="MEDIUM_SIZE"> |
||||
<form MIME="image/jpeg"/> |
||||
</dsTypeModel> |
||||
<dsTypeModel ID="FULL_SIZE"> |
||||
<form MIME="image/jpeg"/> |
||||
</dsTypeModel> |
||||
</dsCompositeModel> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
</foxml:digitalObject> |
||||
|
@ -1,73 +1,73 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<foxml:digitalObject PID="demo:DualResImageCollection" VERSION="1.1" xmlns:foxml="info:fedora/fedora-system:def/foxml#" |
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="info:fedora/fedora-system:def/foxml# http://www.fedora.info/definitions/1/0/foxml1-1.xsd"> |
||||
<foxml:objectProperties> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#state" VALUE="Active"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#label" VALUE="Content Model Object (Image Collection) for Image Collection Demo"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#ownerId" VALUE="fedoraAdmin"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#createdDate" VALUE="2007-08-15T14:36:34.682Z"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/view#lastModifiedDate" VALUE="2011-03-29T14:15:19.509Z"/> |
||||
</foxml:objectProperties> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="AUDIT" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2007-08-15T14:36:34.682Z" |
||||
<foxml:objectProperties> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#state" VALUE="Active"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#label" VALUE="Content Model Object (Image Collection) for Image Collection Demo"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#ownerId" VALUE="fedoraAdmin"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#createdDate" VALUE="2007-08-15T14:36:34.682Z"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/view#lastModifiedDate" VALUE="2011-03-29T14:15:19.509Z"/> |
||||
</foxml:objectProperties> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="AUDIT" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2007-08-15T14:36:34.682Z" |
||||
FORMAT_URI="info:fedora/fedora-system:format/xml.fedora.audit" ID="AUDIT.0" LABEL="Audit Trail for this object" MIMETYPE="text/xml"> |
||||
<foxml:xmlContent> |
||||
<audit:auditTrail xmlns:audit="info:fedora/fedora-system:def/audit#"> |
||||
<audit:record ID="AUDREC1"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>ingest</audit:action> |
||||
<audit:componentID/> |
||||
<audit:responsibility>fedoraAdmin</audit:responsibility> |
||||
<audit:date>2011-03-29T14:15:19.509Z</audit:date> |
||||
<audit:justification>Ingested from local file /usr/local/fedora/client/demo/foxml/local-server-demos/image-collection-demo/cModelObjects/demo_DualResImageCollection.xml</audit:justification> |
||||
</audit:record> |
||||
</audit:auditTrail> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="DC" STATE="A" VERSIONABLE="true"> |
||||
<foxml:datastreamVersion CREATED="2008-07-02T05:09:42.906Z" FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/" |
||||
<foxml:xmlContent> |
||||
<audit:auditTrail xmlns:audit="info:fedora/fedora-system:def/audit#"> |
||||
<audit:record ID="AUDREC1"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>ingest</audit:action> |
||||
<audit:componentID/> |
||||
<audit:responsibility>fedoraAdmin</audit:responsibility> |
||||
<audit:date>2011-03-29T14:15:19.509Z</audit:date> |
||||
<audit:justification>Ingested from local file /usr/local/fedora/client/demo/foxml/local-server-demos/image-collection-demo/cModelObjects/demo_DualResImageCollection.xml</audit:justification> |
||||
</audit:record> |
||||
</audit:auditTrail> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="DC" STATE="A" VERSIONABLE="true"> |
||||
<foxml:datastreamVersion CREATED="2008-07-02T05:09:42.906Z" FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/" |
||||
ID="DC1.0" LABEL="Dublin Core Record for this object" MIMETYPE="text/xml" SIZE="445"> |
||||
<foxml:xmlContent> |
||||
<oai_dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/" |
||||
<foxml:xmlContent> |
||||
<oai_dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/" |
||||
xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" |
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd"> |
||||
<dc:title>Content Model Object (Image Collection) for Image Collection Demo</dc:title> |
||||
<dc:identifier>demo:DualResImageCollection</dc:identifier> |
||||
</oai_dc:dc> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="RELS-EXT" STATE="A" VERSIONABLE="true"> |
||||
<foxml:datastreamVersion CREATED="2008-07-02T05:09:42.906Z" FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-1.0" |
||||
<dc:title>Content Model Object (Image Collection) for Image Collection Demo</dc:title> |
||||
<dc:identifier>demo:DualResImageCollection</dc:identifier> |
||||
</oai_dc:dc> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="RELS-EXT" STATE="A" VERSIONABLE="true"> |
||||
<foxml:datastreamVersion CREATED="2008-07-02T05:09:42.906Z" FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-1.0" |
||||
ID="RELS-EXT.0" LABEL="RDF Statements about this object" MIMETYPE="application/rdf+xml" SIZE="478"> |
||||
<foxml:xmlContent> |
||||
<rdf:RDF xmlns:fedora-model="info:fedora/fedora-system:def/model#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> |
||||
<rdf:Description rdf:about="info:fedora/demo:DualResImageCollection"> |
||||
<fedora-model:hasModel rdf:resource="info:fedora/fedora-system:ContentModel-3.0"/> |
||||
<fedora-model:hasService rdf:resource="info:fedora/demo:Collection"/> |
||||
</rdf:Description> |
||||
</rdf:RDF> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="DS-COMPOSITE-MODEL" STATE="A" VERSIONABLE="true"> |
||||
<foxml:datastreamVersion CREATED="2007-08-15T14:36:30.369Z" |
||||
<foxml:xmlContent> |
||||
<rdf:RDF xmlns:fedora-model="info:fedora/fedora-system:def/model#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> |
||||
<rdf:Description rdf:about="info:fedora/demo:DualResImageCollection"> |
||||
<fedora-model:hasModel rdf:resource="info:fedora/fedora-system:ContentModel-3.0"/> |
||||
<fedora-model:hasService rdf:resource="info:fedora/demo:Collection"/> |
||||
</rdf:Description> |
||||
</rdf:RDF> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="DS-COMPOSITE-MODEL" STATE="A" VERSIONABLE="true"> |
||||
<foxml:datastreamVersion CREATED="2007-08-15T14:36:30.369Z" |
||||
FORMAT_URI="info:fedora/fedora-system:FedoraDSCompositeModel-1.0" ID="DS-COMPOSITE-MODEL1.0" |
||||
LABEL="Datastream Composite Model" MIMETYPE="text/xml" SIZE="410"> |
||||
<foxml:xmlContent> |
||||
<dsCompositeModel xmlns="info:fedora/fedora-system:def/dsCompositeModel#"> |
||||
<dsTypeModel ID="QUERY"> |
||||
<form MIME="text/plain"/> |
||||
</dsTypeModel> |
||||
<dsTypeModel ID="XSLT"> |
||||
<form MIME="text/xml"/> |
||||
</dsTypeModel> |
||||
<dsTypeModel ID="LIST"> |
||||
<form MIME="text/xml"/> |
||||
</dsTypeModel> |
||||
</dsCompositeModel> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:xmlContent> |
||||
<dsCompositeModel xmlns="info:fedora/fedora-system:def/dsCompositeModel#"> |
||||
<dsTypeModel ID="QUERY"> |
||||
<form MIME="text/plain"/> |
||||
</dsTypeModel> |
||||
<dsTypeModel ID="XSLT"> |
||||
<form MIME="text/xml"/> |
||||
</dsTypeModel> |
||||
<dsTypeModel ID="LIST"> |
||||
<form MIME="text/xml"/> |
||||
</dsTypeModel> |
||||
</dsCompositeModel> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
</foxml:digitalObject> |
||||
|
@ -1,162 +1,162 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<foxml:digitalObject PID="demo:DualResImageImpl" VERSION="1.1" xmlns:foxml="info:fedora/fedora-system:def/foxml#" |
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="info:fedora/fedora-system:def/foxml# http://www.fedora.info/definitions/1/0/foxml1-1.xsd"> |
||||
<foxml:objectProperties> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#state" VALUE="Active"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#label" VALUE="Service Deployment Object (Image) for Image Collection Demo"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#ownerId" VALUE="fedoraAdmin"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#createdDate" VALUE="2008-07-02T05:09:42.015Z"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/view#lastModifiedDate" VALUE="2011-03-29T14:15:20.881Z"/> |
||||
</foxml:objectProperties> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="AUDIT" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2008-07-02T05:09:42.015Z" |
||||
<foxml:objectProperties> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#state" VALUE="Active"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#label" VALUE="Service Deployment Object (Image) for Image Collection Demo"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#ownerId" VALUE="fedoraAdmin"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#createdDate" VALUE="2008-07-02T05:09:42.015Z"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/view#lastModifiedDate" VALUE="2011-03-29T14:15:20.881Z"/> |
||||
</foxml:objectProperties> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="AUDIT" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2008-07-02T05:09:42.015Z" |
||||
FORMAT_URI="info:fedora/fedora-system:format/xml.fedora.audit" ID="AUDIT.0" LABEL="Audit Trail for this object" MIMETYPE="text/xml"> |
||||
<foxml:xmlContent> |
||||
<audit:auditTrail xmlns:audit="info:fedora/fedora-system:def/audit#"> |
||||
<audit:record ID="AUDREC1"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>ingest</audit:action> |
||||
<audit:componentID/> |
||||
<audit:responsibility>fedoraAdmin</audit:responsibility> |
||||
<audit:date>2011-03-29T14:15:20.881Z</audit:date> |
||||
<audit:justification>Ingested from local file /usr/local/fedora/client/demo/foxml/local-server-demos/image-collection-demo/sDepObjects/demo_DualResImageImpl.xml</audit:justification> |
||||
</audit:record> |
||||
</audit:auditTrail> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="DC" STATE="A" VERSIONABLE="true"> |
||||
<foxml:datastreamVersion CREATED="2008-07-02T05:09:43.203Z" FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/" |
||||
<foxml:xmlContent> |
||||
<audit:auditTrail xmlns:audit="info:fedora/fedora-system:def/audit#"> |
||||
<audit:record ID="AUDREC1"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>ingest</audit:action> |
||||
<audit:componentID/> |
||||
<audit:responsibility>fedoraAdmin</audit:responsibility> |
||||
<audit:date>2011-03-29T14:15:20.881Z</audit:date> |
||||
<audit:justification>Ingested from local file /usr/local/fedora/client/demo/foxml/local-server-demos/image-collection-demo/sDepObjects/demo_DualResImageImpl.xml</audit:justification> |
||||
</audit:record> |
||||
</audit:auditTrail> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="DC" STATE="A" VERSIONABLE="true"> |
||||
<foxml:datastreamVersion CREATED="2008-07-02T05:09:43.203Z" FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/" |
||||
ID="DC1.0" LABEL="Dublin Core Record for this object" MIMETYPE="text/xml" SIZE="433"> |
||||
<foxml:xmlContent> |
||||
<oai_dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/" |
||||
<foxml:xmlContent> |
||||
<oai_dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/" |
||||
xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" |
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd"> |
||||
<dc:title>Service Deployment Object (Image) for Image Collection Demo</dc:title> |
||||
<dc:identifier>demo:DualResImageImpl</dc:identifier> |
||||
</oai_dc:dc> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="RELS-EXT" STATE="A" VERSIONABLE="true"> |
||||
<foxml:datastreamVersion CREATED="2008-07-02T05:09:43.203Z" FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-1.0" |
||||
<dc:title>Service Deployment Object (Image) for Image Collection Demo</dc:title> |
||||
<dc:identifier>demo:DualResImageImpl</dc:identifier> |
||||
</oai_dc:dc> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="RELS-EXT" STATE="A" VERSIONABLE="true"> |
||||
<foxml:datastreamVersion CREATED="2008-07-02T05:09:43.203Z" FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-1.0" |
||||
ID="RELS-EXT.1" LABEL="RDF Statements about this object" MIMETYPE="application/rdf+xml" SIZE="670"> |
||||
<foxml:xmlContent> |
||||
<rdf:RDF xmlns:fedora-model="info:fedora/fedora-system:def/model#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> |
||||
<rdf:Description rdf:about="info:fedora/demo:DualResImageImpl"> |
||||
<fedora-model:hasModel rdf:resource="info:fedora/fedora-system:ServiceDeployment-3.0"/> |
||||
<fedora-model:isDeploymentOf rdf:resource="info:fedora/demo:DualResolution"/> |
||||
<fedora-model:isContractorOf rdf:resource="info:fedora/demo:DualResImage"/> |
||||
</rdf:Description> |
||||
</rdf:RDF> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="METHODMAP" STATE="A" VERSIONABLE="true"> |
||||
<foxml:datastreamVersion CREATED="2008-07-02T05:09:43.203Z" |
||||
<foxml:xmlContent> |
||||
<rdf:RDF xmlns:fedora-model="info:fedora/fedora-system:def/model#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> |
||||
<rdf:Description rdf:about="info:fedora/demo:DualResImageImpl"> |
||||
<fedora-model:hasModel rdf:resource="info:fedora/fedora-system:ServiceDeployment-3.0"/> |
||||
<fedora-model:isDeploymentOf rdf:resource="info:fedora/demo:DualResolution"/> |
||||
<fedora-model:isContractorOf rdf:resource="info:fedora/demo:DualResImage"/> |
||||
</rdf:Description> |
||||
</rdf:RDF> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="METHODMAP" STATE="A" VERSIONABLE="true"> |
||||
<foxml:datastreamVersion CREATED="2008-07-02T05:09:43.203Z" |
||||
FORMAT_URI="info:fedora/fedora-system:FedoraSDepMethodMap-1.1" ID="METHODMAP1.0" LABEL="Deployment Method Map" |
||||
MIMETYPE="text/xml" SIZE="1152"> |
||||
<foxml:xmlContent> |
||||
<fmm:MethodMap name="MethodMap - Dual Resolution Image Implementation" xmlns:fmm="http://fedora.comm.nsdlib.org/service/methodmap"> |
||||
<fmm:Method operationLabel="A full-size image" operationName="fullSize" wsdlMsgName="fullSizeRequest" wsdlMsgOutput="dissemResponse"> |
||||
<fmm:DatastreamInputParm defaultValue="" label="The full-size image" parmName="FULL_SIZE" passBy="URL_REF" required="true"/> |
||||
<fmm:MethodReturnType wsdlMsgName="dissemResponse" wsdlMsgTOMIME="image/jpeg"/> |
||||
</fmm:Method> |
||||
<fmm:Method operationLabel="A medium-size image" operationName="mediumSize" wsdlMsgName="mediumSizeRequest" wsdlMsgOutput="dissemResponse"> |
||||
<fmm:DatastreamInputParm defaultValue="" label="The medium-size image" parmName="MEDIUM_SIZE" |
||||
<foxml:xmlContent> |
||||
<fmm:MethodMap name="MethodMap - Dual Resolution Image Implementation" xmlns:fmm="http://fedora.comm.nsdlib.org/service/methodmap"> |
||||
<fmm:Method operationLabel="A full-size image" operationName="fullSize" wsdlMsgName="fullSizeRequest" wsdlMsgOutput="dissemResponse"> |
||||
<fmm:DatastreamInputParm defaultValue="" label="The full-size image" parmName="FULL_SIZE" passBy="URL_REF" required="true"/> |
||||
<fmm:MethodReturnType wsdlMsgName="dissemResponse" wsdlMsgTOMIME="image/jpeg"/> |
||||
</fmm:Method> |
||||
<fmm:Method operationLabel="A medium-size image" operationName="mediumSize" wsdlMsgName="mediumSizeRequest" wsdlMsgOutput="dissemResponse"> |
||||
<fmm:DatastreamInputParm defaultValue="" label="The medium-size image" parmName="MEDIUM_SIZE" |
||||
passBy="URL_REF" required="true"/> |
||||
<fmm:MethodReturnType wsdlMsgName="dissemResponse" wsdlMsgTOMIME="image/jpeg"/> |
||||
</fmm:Method> |
||||
</fmm:MethodMap> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="DSINPUTSPEC" STATE="A" VERSIONABLE="true"> |
||||
<foxml:datastreamVersion CREATED="2008-07-02T05:09:43.203Z" |
||||
<fmm:MethodReturnType wsdlMsgName="dissemResponse" wsdlMsgTOMIME="image/jpeg"/> |
||||
</fmm:Method> |
||||
</fmm:MethodMap> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="DSINPUTSPEC" STATE="A" VERSIONABLE="true"> |
||||
<foxml:datastreamVersion CREATED="2008-07-02T05:09:43.203Z" |
||||
FORMAT_URI="info:fedora/fedora-system:FedoraDSInputSpec-1.1" ID="DSINPUTSPEC1.0" |
||||
LABEL="Datastream Input Specification" MIMETYPE="text/xml" SIZE="899"> |
||||
<foxml:xmlContent> |
||||
<fbs:DSInputSpec label="Datastream Input Specification for Dual Resolution Image Implementation" xmlns:fbs="http://fedora.comm.nsdlib.org/service/bindspec"> |
||||
<fbs:DSInput DSMax="1" DSMin="1" DSOrdinality="false" wsdlMsgPartName="FULL_SIZE"> |
||||
<fbs:DSInputLabel>FULL_SIZE Binding</fbs:DSInputLabel> |
||||
<fbs:DSMIME>image/jpeg</fbs:DSMIME> |
||||
<fbs:DSInputInstruction/> |
||||
</fbs:DSInput> |
||||
<fbs:DSInput DSMax="1" DSMin="1" DSOrdinality="false" wsdlMsgPartName="MEDIUM_SIZE"> |
||||
<fbs:DSInputLabel>MEDIUM_SIZE Binding</fbs:DSInputLabel> |
||||
<fbs:DSMIME>image/jpeg</fbs:DSMIME> |
||||
<fbs:DSInputInstruction/> |
||||
</fbs:DSInput> |
||||
</fbs:DSInputSpec> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="WSDL" STATE="A" VERSIONABLE="true"> |
||||
<foxml:datastreamVersion CREATED="2008-07-02T05:09:43.203Z" FORMAT_URI="http://schemas.xmlsoap.org/wsdl/" |
||||
<foxml:xmlContent> |
||||
<fbs:DSInputSpec label="Datastream Input Specification for Dual Resolution Image Implementation" xmlns:fbs="http://fedora.comm.nsdlib.org/service/bindspec"> |
||||
<fbs:DSInput DSMax="1" DSMin="1" DSOrdinality="false" wsdlMsgPartName="FULL_SIZE"> |
||||
<fbs:DSInputLabel>FULL_SIZE Binding</fbs:DSInputLabel> |
||||
<fbs:DSMIME>image/jpeg</fbs:DSMIME> |
||||
<fbs:DSInputInstruction/> |
||||
</fbs:DSInput> |
||||
<fbs:DSInput DSMax="1" DSMin="1" DSOrdinality="false" wsdlMsgPartName="MEDIUM_SIZE"> |
||||
<fbs:DSInputLabel>MEDIUM_SIZE Binding</fbs:DSInputLabel> |
||||
<fbs:DSMIME>image/jpeg</fbs:DSMIME> |
||||
<fbs:DSInputInstruction/> |
||||
</fbs:DSInput> |
||||
</fbs:DSInputSpec> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="WSDL" STATE="A" VERSIONABLE="true"> |
||||
<foxml:datastreamVersion CREATED="2008-07-02T05:09:43.203Z" FORMAT_URI="http://schemas.xmlsoap.org/wsdl/" |
||||
ID="WSDL1.0" LABEL="WSDL Bindings" MIMETYPE="text/xml" SIZE="3744"> |
||||
<foxml:xmlContent> |
||||
<wsdl:definitions name="DualResolutionImageImplementation" targetNamespace="bmech" |
||||
<foxml:xmlContent> |
||||
<wsdl:definitions name="DualResolutionImageImplementation" targetNamespace="bmech" |
||||
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" |
||||
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap" |
||||
xmlns:soapenc="http://schemas.xmlsoap.org/wsdl/soap/encoding" xmlns:this="bmech" |
||||
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> |
||||
<wsdl:types> |
||||
<xsd:schema targetNamespace="bmech"> |
||||
<xsd:simpleType name="FULL_SIZEType"> |
||||
<xsd:restriction base="xsd:string"/> |
||||
</xsd:simpleType> |
||||
<xsd:simpleType name="MEDIUM_SIZEType"> |
||||
<xsd:restriction base="xsd:string"/> |
||||
</xsd:simpleType> |
||||
</xsd:schema> |
||||
</wsdl:types> |
||||
<wsdl:message name="fullSizeRequest"> |
||||
<wsdl:part name="FULL_SIZE" type="this:FULL_SIZEType"/> |
||||
</wsdl:message> |
||||
<wsdl:message name="mediumSizeRequest"> |
||||
<wsdl:part name="MEDIUM_SIZE" type="this:MEDIUM_SIZEType"/> |
||||
</wsdl:message> |
||||
<wsdl:message name="dissemResponse"> |
||||
<wsdl:part name="dissem" type="xsd:base64Binary"/> |
||||
</wsdl:message> |
||||
<wsdl:portType name="DualResImageImplPortType"> |
||||
<wsdl:operation name="fullSize"> |
||||
<wsdl:input message="this:fullSizeRequest"/> |
||||
<wsdl:output message="this:dissemResponse"/> |
||||
</wsdl:operation> |
||||
<wsdl:operation name="mediumSize"> |
||||
<wsdl:input message="this:mediumSizeRequest"/> |
||||
<wsdl:output message="this:dissemResponse"/> |
||||
</wsdl:operation> |
||||
</wsdl:portType> |
||||
<wsdl:service name="DualResImageImpl"> |
||||
<wsdl:port binding="this:DualResImageImpl_http" name="DualResImageImpl_port"> |
||||
<http:address location="LOCAL"/> |
||||
</wsdl:port> |
||||
</wsdl:service> |
||||
<wsdl:binding name="DualResImageImpl_http" type="this:DualResImageImplPortType"> |
||||
<http:binding verb="GET"/> |
||||
<wsdl:operation name="fullSize"> |
||||
<http:operation location="(FULL_SIZE)"/> |
||||
<wsdl:input> |
||||
<http:urlReplacement/> |
||||
</wsdl:input> |
||||
<wsdl:output> |
||||
<mime:content type="image/jpeg"/> |
||||
</wsdl:output> |
||||
</wsdl:operation> |
||||
<wsdl:operation name="mediumSize"> |
||||
<http:operation location="(MEDIUM_SIZE)"/> |
||||
<wsdl:input> |
||||
<http:urlReplacement/> |
||||
</wsdl:input> |
||||
<wsdl:output> |
||||
<mime:content type="image/jpeg"/> |
||||
</wsdl:output> |
||||
</wsdl:operation> |
||||
</wsdl:binding> |
||||
</wsdl:definitions> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<wsdl:types> |
||||
<xsd:schema targetNamespace="bmech"> |
||||
<xsd:simpleType name="FULL_SIZEType"> |
||||
<xsd:restriction base="xsd:string"/> |
||||
</xsd:simpleType> |
||||
<xsd:simpleType name="MEDIUM_SIZEType"> |
||||
<xsd:restriction base="xsd:string"/> |
||||
</xsd:simpleType> |
||||
</xsd:schema> |
||||
</wsdl:types> |
||||
<wsdl:message name="fullSizeRequest"> |
||||
<wsdl:part name="FULL_SIZE" type="this:FULL_SIZEType"/> |
||||
</wsdl:message> |
||||
<wsdl:message name="mediumSizeRequest"> |
||||
<wsdl:part name="MEDIUM_SIZE" type="this:MEDIUM_SIZEType"/> |
||||
</wsdl:message> |
||||
<wsdl:message name="dissemResponse"> |
||||
<wsdl:part name="dissem" type="xsd:base64Binary"/> |
||||
</wsdl:message> |
||||
<wsdl:portType name="DualResImageImplPortType"> |
||||
<wsdl:operation name="fullSize"> |
||||
<wsdl:input message="this:fullSizeRequest"/> |
||||
<wsdl:output message="this:dissemResponse"/> |
||||
</wsdl:operation> |
||||
<wsdl:operation name="mediumSize"> |
||||
<wsdl:input message="this:mediumSizeRequest"/> |
||||
<wsdl:output message="this:dissemResponse"/> |
||||
</wsdl:operation> |
||||
</wsdl:portType> |
||||
<wsdl:service name="DualResImageImpl"> |
||||
<wsdl:port binding="this:DualResImageImpl_http" name="DualResImageImpl_port"> |
||||
<http:address location="LOCAL"/> |
||||
</wsdl:port> |
||||
</wsdl:service> |
||||
<wsdl:binding name="DualResImageImpl_http" type="this:DualResImageImplPortType"> |
||||
<http:binding verb="GET"/> |
||||
<wsdl:operation name="fullSize"> |
||||
<http:operation location="(FULL_SIZE)"/> |
||||
<wsdl:input> |
||||
<http:urlReplacement/> |
||||
</wsdl:input> |
||||
<wsdl:output> |
||||
<mime:content type="image/jpeg"/> |
||||
</wsdl:output> |
||||
</wsdl:operation> |
||||
<wsdl:operation name="mediumSize"> |
||||
<http:operation location="(MEDIUM_SIZE)"/> |
||||
<wsdl:input> |
||||
<http:urlReplacement/> |
||||
</wsdl:input> |
||||
<wsdl:output> |
||||
<mime:content type="image/jpeg"/> |
||||
</wsdl:output> |
||||
</wsdl:operation> |
||||
</wsdl:binding> |
||||
</wsdl:definitions> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
</foxml:digitalObject> |
||||
|
@ -1,65 +1,65 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<foxml:digitalObject PID="demo:DualResolution" VERSION="1.1" xmlns:foxml="info:fedora/fedora-system:def/foxml#" |
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="info:fedora/fedora-system:def/foxml# http://www.fedora.info/definitions/1/0/foxml1-1.xsd"> |
||||
<foxml:objectProperties> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#state" VALUE="Active"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#label" VALUE="Service Definition Object (Image) for Image Collection Demo"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#ownerId" VALUE="fedoraAdmin"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#createdDate" VALUE="2008-07-02T05:09:42.015Z"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/view#lastModifiedDate" VALUE="2011-03-29T14:15:20.765Z"/> |
||||
</foxml:objectProperties> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="AUDIT" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2008-07-02T05:09:42.015Z" |
||||
<foxml:objectProperties> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#state" VALUE="Active"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#label" VALUE="Service Definition Object (Image) for Image Collection Demo"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#ownerId" VALUE="fedoraAdmin"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#createdDate" VALUE="2008-07-02T05:09:42.015Z"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/view#lastModifiedDate" VALUE="2011-03-29T14:15:20.765Z"/> |
||||
</foxml:objectProperties> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="AUDIT" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2008-07-02T05:09:42.015Z" |
||||
FORMAT_URI="info:fedora/fedora-system:format/xml.fedora.audit" ID="AUDIT.0" LABEL="Audit Trail for this object" MIMETYPE="text/xml"> |
||||
<foxml:xmlContent> |
||||
<audit:auditTrail xmlns:audit="info:fedora/fedora-system:def/audit#"> |
||||
<audit:record ID="AUDREC1"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>ingest</audit:action> |
||||
<audit:componentID/> |
||||
<audit:responsibility>fedoraAdmin</audit:responsibility> |
||||
<audit:date>2011-03-29T14:15:20.765Z</audit:date> |
||||
<audit:justification>Ingested from local file /usr/local/fedora/client/demo/foxml/local-server-demos/image-collection-demo/sDefObjects/demo_DualResolution.xml</audit:justification> |
||||
</audit:record> |
||||
</audit:auditTrail> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="DC" STATE="A" VERSIONABLE="true"> |
||||
<foxml:datastreamVersion CREATED="2008-07-02T05:09:43.156Z" FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/" |
||||
<foxml:xmlContent> |
||||
<audit:auditTrail xmlns:audit="info:fedora/fedora-system:def/audit#"> |
||||
<audit:record ID="AUDREC1"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>ingest</audit:action> |
||||
<audit:componentID/> |
||||
<audit:responsibility>fedoraAdmin</audit:responsibility> |
||||
<audit:date>2011-03-29T14:15:20.765Z</audit:date> |
||||
<audit:justification>Ingested from local file /usr/local/fedora/client/demo/foxml/local-server-demos/image-collection-demo/sDefObjects/demo_DualResolution.xml</audit:justification> |
||||
</audit:record> |
||||
</audit:auditTrail> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="DC" STATE="A" VERSIONABLE="true"> |
||||
<foxml:datastreamVersion CREATED="2008-07-02T05:09:43.156Z" FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/" |
||||
ID="DC1.0" LABEL="Dublin Core Record for this object" MIMETYPE="text/xml" SIZE="431"> |
||||
<foxml:xmlContent> |
||||
<oai_dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/" |
||||
<foxml:xmlContent> |
||||
<oai_dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/" |
||||
xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" |
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd"> |
||||
<dc:title>Service Definition Object (Image) for Image Collection Demo</dc:title> |
||||
<dc:identifier>demo:DualResolution</dc:identifier> |
||||
</oai_dc:dc> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="RELS-EXT" STATE="A" VERSIONABLE="true"> |
||||
<foxml:datastreamVersion CREATED="2008-07-02T05:09:43.156Z" FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-1.0" |
||||
<dc:title>Service Definition Object (Image) for Image Collection Demo</dc:title> |
||||
<dc:identifier>demo:DualResolution</dc:identifier> |
||||
</oai_dc:dc> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="RELS-EXT" STATE="A" VERSIONABLE="true"> |
||||
<foxml:datastreamVersion CREATED="2008-07-02T05:09:43.156Z" FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-1.0" |
||||
ID="RELS-EXT1.0" LABEL="RDF Statements about this object" MIMETYPE="application/rdf+xml" SIZE="408"> |
||||
<foxml:xmlContent> |
||||
<rdf:RDF xmlns:fedora-model="info:fedora/fedora-system:def/model#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> |
||||
<rdf:Description rdf:about="info:fedora/demo:DualResolution"> |
||||
<fedora-model:hasModel rdf:resource="info:fedora/fedora-system:ServiceDefinition-3.0"/> |
||||
</rdf:Description> |
||||
</rdf:RDF> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="METHODMAP" STATE="A" VERSIONABLE="true"> |
||||
<foxml:datastreamVersion CREATED="2008-07-02T05:09:43.156Z" |
||||
<foxml:xmlContent> |
||||
<rdf:RDF xmlns:fedora-model="info:fedora/fedora-system:def/model#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> |
||||
<rdf:Description rdf:about="info:fedora/demo:DualResolution"> |
||||
<fedora-model:hasModel rdf:resource="info:fedora/fedora-system:ServiceDefinition-3.0"/> |
||||
</rdf:Description> |
||||
</rdf:RDF> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="METHODMAP" STATE="A" VERSIONABLE="true"> |
||||
<foxml:datastreamVersion CREATED="2008-07-02T05:09:43.156Z" |
||||
FORMAT_URI="info:fedora/fedora-system:FedoraSDefMethodMap-1.0" ID="METHODMAP1.0" LABEL="Abstract Method Map" |
||||
MIMETYPE="text/xml" SIZE="367"> |
||||
<foxml:xmlContent> |
||||
<fmm:MethodMap name="MethodMap - Dual Resolution Image" xmlns:fmm="http://fedora.comm.nsdlib.org/service/methodmap"> |
||||
<fmm:Method operationLabel="A full-size image" operationName="fullSize"/> |
||||
<fmm:Method operationLabel="A medium-size image" operationName="mediumSize"/> |
||||
</fmm:MethodMap> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:xmlContent> |
||||
<fmm:MethodMap name="MethodMap - Dual Resolution Image" xmlns:fmm="http://fedora.comm.nsdlib.org/service/methodmap"> |
||||
<fmm:Method operationLabel="A full-size image" operationName="fullSize"/> |
||||
<fmm:Method operationLabel="A medium-size image" operationName="mediumSize"/> |
||||
</fmm:MethodMap> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
</foxml:digitalObject> |
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,73 +1,73 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<foxml:digitalObject PID="ilives:jp2Sdef" VERSION="1.1" xmlns:foxml="info:fedora/fedora-system:def/foxml#" |
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="info:fedora/fedora-system:def/foxml# http://www.fedora.info/definitions/1/0/foxml1-1.xsd"> |
||||
<foxml:objectProperties> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#state" VALUE="Active"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#label" VALUE="ilives:jp2Sdef"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#ownerId" VALUE="fedoraAdmin"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#createdDate" VALUE="2009-05-18T15:07:42.398Z"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/view#lastModifiedDate" VALUE="2010-05-25T13:17:14.106Z"/> |
||||
</foxml:objectProperties> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="AUDIT" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2009-05-18T15:07:42.398Z" |
||||
<foxml:objectProperties> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#state" VALUE="Active"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#label" VALUE="ilives:jp2Sdef"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#ownerId" VALUE="fedoraAdmin"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#createdDate" VALUE="2009-05-18T15:07:42.398Z"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/view#lastModifiedDate" VALUE="2010-05-25T13:17:14.106Z"/> |
||||
</foxml:objectProperties> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="AUDIT" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2009-05-18T15:07:42.398Z" |
||||
FORMAT_URI="info:fedora/fedora-system:format/xml.fedora.audit" ID="AUDIT.0" LABEL="Audit Trail for this object" MIMETYPE="text/xml"> |
||||
<foxml:xmlContent> |
||||
<audit:auditTrail xmlns:audit="info:fedora/fedora-system:def/audit#"> |
||||
<audit:record ID="AUDREC1"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>ingest</audit:action> |
||||
<audit:componentID/> |
||||
<audit:responsibility>fedoraAdmin</audit:responsibility> |
||||
<audit:date>2009-11-12T14:56:59.840Z</audit:date> |
||||
<audit:justification>Ingested from local file /Users/aoneill/dev/iiv/iiv/etc/fedora-objects/ilives_jp2Sdef.xml</audit:justification> |
||||
</audit:record> |
||||
<audit:record ID="AUDREC2"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>ingest</audit:action> |
||||
<audit:componentID/> |
||||
<audit:responsibility>admin</audit:responsibility> |
||||
<audit:date>2010-05-25T13:17:14.106Z</audit:date> |
||||
<audit:justification>Fedora Object Ingested</audit:justification> |
||||
</audit:record> |
||||
</audit:auditTrail> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="RELS-EXT" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2009-05-18T15:07:42.487Z" FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-1.0" |
||||
<foxml:xmlContent> |
||||
<audit:auditTrail xmlns:audit="info:fedora/fedora-system:def/audit#"> |
||||
<audit:record ID="AUDREC1"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>ingest</audit:action> |
||||
<audit:componentID/> |
||||
<audit:responsibility>fedoraAdmin</audit:responsibility> |
||||
<audit:date>2009-11-12T14:56:59.840Z</audit:date> |
||||
<audit:justification>Ingested from local file /Users/aoneill/dev/iiv/iiv/etc/fedora-objects/ilives_jp2Sdef.xml</audit:justification> |
||||
</audit:record> |
||||
<audit:record ID="AUDREC2"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>ingest</audit:action> |
||||
<audit:componentID/> |
||||
<audit:responsibility>admin</audit:responsibility> |
||||
<audit:date>2010-05-25T13:17:14.106Z</audit:date> |
||||
<audit:justification>Fedora Object Ingested</audit:justification> |
||||
</audit:record> |
||||
</audit:auditTrail> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="RELS-EXT" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2009-05-18T15:07:42.487Z" FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-1.0" |
||||
ID="RELS-EXT1.0" LABEL="RDF Statements about this object" MIMETYPE="application/rdf+xml" SIZE="363"> |
||||
<foxml:xmlContent> |
||||
<rdf:RDF xmlns:fedora-model="info:fedora/fedora-system:def/model#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> |
||||
<rdf:Description rdf:about="info:fedora/ilives:jp2Sdef"> |
||||
<fedora-model:hasModel rdf:resource="info:fedora/fedora-system:ServiceDefinition-3.0"/> |
||||
</rdf:Description> |
||||
</rdf:RDF> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="DC" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2009-05-18T15:07:42.398Z" FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/" |
||||
<foxml:xmlContent> |
||||
<rdf:RDF xmlns:fedora-model="info:fedora/fedora-system:def/model#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> |
||||
<rdf:Description rdf:about="info:fedora/ilives:jp2Sdef"> |
||||
<fedora-model:hasModel rdf:resource="info:fedora/fedora-system:ServiceDefinition-3.0"/> |
||||
</rdf:Description> |
||||
</rdf:RDF> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="DC" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2009-05-18T15:07:42.398Z" FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/" |
||||
ID="DC1.0" LABEL="Dublin Core Record for this object" MIMETYPE="text/xml" SIZE="381"> |
||||
<foxml:xmlContent> |
||||
<oai_dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/" |
||||
<foxml:xmlContent> |
||||
<oai_dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/" |
||||
xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" |
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd"> |
||||
<dc:title>ilives:jp2Sdef</dc:title> |
||||
<dc:identifier>ilives:jp2Sdef</dc:identifier> |
||||
</oai_dc:dc> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="METHODMAP" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2009-05-18T20:08:16.294Z" |
||||
<dc:title>ilives:jp2Sdef</dc:title> |
||||
<dc:identifier>ilives:jp2Sdef</dc:identifier> |
||||
</oai_dc:dc> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="METHODMAP" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2009-05-18T20:08:16.294Z" |
||||
FORMAT_URI="info:fedora/fedora-system:FedoraSDefMethodMap-1.0" ID="METHODMAP.3" LABEL="Abstract Method Map" |
||||
MIMETYPE="text/xml" SIZE="245"> |
||||
<foxml:xmlContent> |
||||
<fmm:MethodMap name="methodmap" xmlns:fmm="http://fedora.comm.nsdlib.org/service/methodmap"> |
||||
<fmm:Method operationName="getMetadata"/> |
||||
<fmm:Method operationName="getRegion"/> |
||||
</fmm:MethodMap> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:xmlContent> |
||||
<fmm:MethodMap name="methodmap" xmlns:fmm="http://fedora.comm.nsdlib.org/service/methodmap"> |
||||
<fmm:Method operationName="getMetadata"/> |
||||
<fmm:Method operationName="getRegion"/> |
||||
</fmm:MethodMap> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
</foxml:digitalObject> |
||||
|
@ -1,179 +1,179 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<foxml:digitalObject PID="ilives:jp2Sdep-pageCModel" VERSION="1.1" xmlns:foxml="info:fedora/fedora-system:def/foxml#" |
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="info:fedora/fedora-system:def/foxml# http://www.fedora.info/definitions/1/0/foxml1-1.xsd"> |
||||
<foxml:objectProperties> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#state" VALUE="Active"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#label" VALUE="ilives:jp2Sdep-pageCModel"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#ownerId" VALUE="fedoraAdmin"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#createdDate" VALUE="2009-05-21T03:24:05.906Z"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/view#lastModifiedDate" VALUE="2010-06-01T00:48:39.302Z"/> |
||||
</foxml:objectProperties> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="AUDIT" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2009-05-21T03:24:05.906Z" |
||||
<foxml:objectProperties> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#state" VALUE="Active"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#label" VALUE="ilives:jp2Sdep-pageCModel"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#ownerId" VALUE="fedoraAdmin"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#createdDate" VALUE="2009-05-21T03:24:05.906Z"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/view#lastModifiedDate" VALUE="2010-06-01T00:48:39.302Z"/> |
||||
</foxml:objectProperties> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="AUDIT" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2009-05-21T03:24:05.906Z" |
||||
FORMAT_URI="info:fedora/fedora-system:format/xml.fedora.audit" ID="AUDIT.0" LABEL="Audit Trail for this object" MIMETYPE="text/xml"> |
||||
<foxml:xmlContent> |
||||
<audit:auditTrail xmlns:audit="info:fedora/fedora-system:def/audit#"> |
||||
<audit:record ID="AUDREC1"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>ingest</audit:action> |
||||
<audit:componentID/> |
||||
<audit:responsibility>fedoraAdmin</audit:responsibility> |
||||
<audit:date>2009-11-12T14:57:00.246Z</audit:date> |
||||
<audit:justification>Ingested from local file /Users/aoneill/dev/iiv/iiv/etc/fedora-objects/ilives_jp2Sdep-pageCModel.xml</audit:justification> |
||||
</audit:record> |
||||
<audit:record ID="AUDREC2"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>ingest</audit:action> |
||||
<audit:componentID/> |
||||
<audit:responsibility>fedoraAdmin</audit:responsibility> |
||||
<audit:date>2010-06-01T00:46:19.239Z</audit:date> |
||||
<audit:justification>Ingested from local file /Users/al/Desktop/ilives_jp2Sdep-pageCModel.xml</audit:justification> |
||||
</audit:record> |
||||
<audit:record ID="AUDREC3"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>modifyDatastreamByValue</audit:action> |
||||
<audit:componentID>RELS-EXT</audit:componentID> |
||||
<audit:responsibility>fedoraAdmin</audit:responsibility> |
||||
<audit:date>2010-06-01T00:48:39.302Z</audit:date> |
||||
<audit:justification/> |
||||
</audit:record> |
||||
</audit:auditTrail> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="DC" STATE="A" VERSIONABLE="true"> |
||||
<foxml:datastreamVersion CREATED="2009-05-21T03:24:05.906Z" FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/" |
||||
<foxml:xmlContent> |
||||
<audit:auditTrail xmlns:audit="info:fedora/fedora-system:def/audit#"> |
||||
<audit:record ID="AUDREC1"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>ingest</audit:action> |
||||
<audit:componentID/> |
||||
<audit:responsibility>fedoraAdmin</audit:responsibility> |
||||
<audit:date>2009-11-12T14:57:00.246Z</audit:date> |
||||
<audit:justification>Ingested from local file /Users/aoneill/dev/iiv/iiv/etc/fedora-objects/ilives_jp2Sdep-pageCModel.xml</audit:justification> |
||||
</audit:record> |
||||
<audit:record ID="AUDREC2"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>ingest</audit:action> |
||||
<audit:componentID/> |
||||
<audit:responsibility>fedoraAdmin</audit:responsibility> |
||||
<audit:date>2010-06-01T00:46:19.239Z</audit:date> |
||||
<audit:justification>Ingested from local file /Users/al/Desktop/ilives_jp2Sdep-pageCModel.xml</audit:justification> |
||||
</audit:record> |
||||
<audit:record ID="AUDREC3"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>modifyDatastreamByValue</audit:action> |
||||
<audit:componentID>RELS-EXT</audit:componentID> |
||||
<audit:responsibility>fedoraAdmin</audit:responsibility> |
||||
<audit:date>2010-06-01T00:48:39.302Z</audit:date> |
||||
<audit:justification/> |
||||
</audit:record> |
||||
</audit:auditTrail> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="DC" STATE="A" VERSIONABLE="true"> |
||||
<foxml:datastreamVersion CREATED="2009-05-21T03:24:05.906Z" FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/" |
||||
ID="DC1.0" LABEL="Dublin Core Record for this object" MIMETYPE="text/xml" SIZE="403"> |
||||
<foxml:xmlContent> |
||||
<oai_dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/" |
||||
<foxml:xmlContent> |
||||
<oai_dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/" |
||||
xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" |
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd"> |
||||
<dc:title>ilives:jp2Sdep-pageCModel</dc:title> |
||||
<dc:identifier>ilives:jp2Sdep-pageCModel</dc:identifier> |
||||
</oai_dc:dc> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="METHODMAP" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2009-05-21T03:26:21.830Z" |
||||
<dc:title>ilives:jp2Sdep-pageCModel</dc:title> |
||||
<dc:identifier>ilives:jp2Sdep-pageCModel</dc:identifier> |
||||
</oai_dc:dc> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="METHODMAP" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2009-05-21T03:26:21.830Z" |
||||
FORMAT_URI="info:fedora/fedora-system:FedoraSDepMethodMap-1.1" ID="METHODMAP.1" LABEL="Deployment Method Map" |
||||
MIMETYPE="text/xml" SIZE="2498"> |
||||
<foxml:xmlContent> |
||||
<fmm:MethodMap bDefPID="djatoka:bDef" name="MethodMap - djatoka Service Methods" xmlns:fmm="http://fedora.comm.nsdlib.org/service/methodmap"> |
||||
<fmm:Method operationName="getMetadata" wsdlMsgName="getMetadataRequest" wsdlMsgOutput="response"> |
||||
<fmm:DefaultInputParm defaultValue="$PID" label="fedora object pid" parmName="PID" passBy="VALUE" required="true"/> |
||||
<fmm:DefaultInputParm defaultValue="JP2" label="content model" parmName="DSID" passBy="VALUE" required="true"/> |
||||
<fmm:DefaultInputParm defaultValue="info:lanl-repo/svc/getMetadata" parmName="svc_id" passBy="VALUE" required="true"/> |
||||
<fmm:UserInputParm defaultValue="" parmName="uid" passBy="VALUE" required="false"/> |
||||
<fmm:MethodReturnType wsdlMsgName="response" wsdlMsgTOMIME="application/json"/> |
||||
</fmm:Method> |
||||
<fmm:Method operationName="getRegion" wsdlMsgName="getRegionRequest" wsdlMsgOutput="response"> |
||||
<fmm:DefaultInputParm defaultValue="$PID" label="fedora object pid" parmName="PID" passBy="VALUE" required="true"/> |
||||
<fmm:DefaultInputParm defaultValue="JP2" label="content model" parmName="DSID" passBy="VALUE" required="true"/> |
||||
<fmm:DefaultInputParm defaultValue="info:lanl-repo/svc/getRegion" parmName="svc_id" passBy="VALUE" required="true"/> |
||||
<fmm:UserInputParm defaultValue="" parmName="uid" passBy="VALUE" required="false"/> |
||||
<fmm:UserInputParm defaultValue="" parmName="region" passBy="VALUE" required="false"/> |
||||
<fmm:UserInputParm defaultValue="0" parmName="rotate" passBy="VALUE" required="false"/> |
||||
<fmm:UserInputParm defaultValue="-1" parmName="level" passBy="VALUE" required="false"/> |
||||
<fmm:UserInputParm defaultValue="" parmName="scale" passBy="VALUE" required="false"/> |
||||
<fmm:UserInputParm defaultValue="" parmName="clayers" passBy="VALUE" required="false"/> |
||||
<fmm:UserInputParm defaultValue="image/jpeg" parmName="format" passBy="VALUE" required="false"/> |
||||
<fmm:MethodReturnType wsdlMsgName="response" wsdlMsgTOMIME="image/jpeg"/> |
||||
</fmm:Method> |
||||
</fmm:MethodMap> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="DSINPUTSPEC" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2009-05-21T03:26:44.151Z" |
||||
<foxml:xmlContent> |
||||
<fmm:MethodMap bDefPID="djatoka:bDef" name="MethodMap - djatoka Service Methods" xmlns:fmm="http://fedora.comm.nsdlib.org/service/methodmap"> |
||||
<fmm:Method operationName="getMetadata" wsdlMsgName="getMetadataRequest" wsdlMsgOutput="response"> |
||||
<fmm:DefaultInputParm defaultValue="$PID" label="fedora object pid" parmName="PID" passBy="VALUE" required="true"/> |
||||
<fmm:DefaultInputParm defaultValue="JP2" label="content model" parmName="DSID" passBy="VALUE" required="true"/> |
||||
<fmm:DefaultInputParm defaultValue="info:lanl-repo/svc/getMetadata" parmName="svc_id" passBy="VALUE" required="true"/> |
||||
<fmm:UserInputParm defaultValue="" parmName="uid" passBy="VALUE" required="false"/> |
||||
<fmm:MethodReturnType wsdlMsgName="response" wsdlMsgTOMIME="application/json"/> |
||||
</fmm:Method> |
||||
<fmm:Method operationName="getRegion" wsdlMsgName="getRegionRequest" wsdlMsgOutput="response"> |
||||
<fmm:DefaultInputParm defaultValue="$PID" label="fedora object pid" parmName="PID" passBy="VALUE" required="true"/> |
||||
<fmm:DefaultInputParm defaultValue="JP2" label="content model" parmName="DSID" passBy="VALUE" required="true"/> |
||||
<fmm:DefaultInputParm defaultValue="info:lanl-repo/svc/getRegion" parmName="svc_id" passBy="VALUE" required="true"/> |
||||
<fmm:UserInputParm defaultValue="" parmName="uid" passBy="VALUE" required="false"/> |
||||
<fmm:UserInputParm defaultValue="" parmName="region" passBy="VALUE" required="false"/> |
||||
<fmm:UserInputParm defaultValue="0" parmName="rotate" passBy="VALUE" required="false"/> |
||||
<fmm:UserInputParm defaultValue="-1" parmName="level" passBy="VALUE" required="false"/> |
||||
<fmm:UserInputParm defaultValue="" parmName="scale" passBy="VALUE" required="false"/> |
||||
<fmm:UserInputParm defaultValue="" parmName="clayers" passBy="VALUE" required="false"/> |
||||
<fmm:UserInputParm defaultValue="image/jpeg" parmName="format" passBy="VALUE" required="false"/> |
||||
<fmm:MethodReturnType wsdlMsgName="response" wsdlMsgTOMIME="image/jpeg"/> |
||||
</fmm:Method> |
||||
</fmm:MethodMap> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="DSINPUTSPEC" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2009-05-21T03:26:44.151Z" |
||||
FORMAT_URI="info:fedora/fedora-system:FedoraDSInputSpec-1.1" ID="DSINPUTSPEC.1" |
||||
LABEL="Datastream Input Specification" MIMETYPE="text/xml" SIZE="401"> |
||||
<foxml:xmlContent> |
||||
<fbs:DSInputSpec label="jp2SdepInputSpec" xmlns:fbs="http://fedora.comm.nsdlib.org/service/bindspec"> |
||||
<fbs:DSInput DSMax="1" DSMin="1" DSOrdinality="false" wsdlMsgPartName="DC"> |
||||
<fbs:DSInputLabel>DC</fbs:DSInputLabel> |
||||
<fbs:DSMIME>text/xml</fbs:DSMIME> |
||||
<fbs:DSInputInstruction/> |
||||
</fbs:DSInput> |
||||
</fbs:DSInputSpec> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="WSDL" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2009-05-21T03:27:46.103Z" FORMAT_URI="http://schemas.xmlsoap.org/wsdl/" |
||||
<foxml:xmlContent> |
||||
<fbs:DSInputSpec label="jp2SdepInputSpec" xmlns:fbs="http://fedora.comm.nsdlib.org/service/bindspec"> |
||||
<fbs:DSInput DSMax="1" DSMin="1" DSOrdinality="false" wsdlMsgPartName="DC"> |
||||
<fbs:DSInputLabel>DC</fbs:DSInputLabel> |
||||
<fbs:DSMIME>text/xml</fbs:DSMIME> |
||||
<fbs:DSInputInstruction/> |
||||
</fbs:DSInput> |
||||
</fbs:DSInputSpec> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="WSDL" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2009-05-21T03:27:46.103Z" FORMAT_URI="http://schemas.xmlsoap.org/wsdl/" |
||||
ID="WSDL.1" LABEL="WSDL Bindings" MIMETYPE="text/xml" SIZE="3258"> |
||||
<foxml:xmlContent> |
||||
<wsdl:definitions name="Fedora Local Djatoka Service" targetNamespace="jp2SDep" |
||||
<foxml:xmlContent> |
||||
<wsdl:definitions name="Fedora Local Djatoka Service" targetNamespace="jp2SDep" |
||||
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" |
||||
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap" |
||||
xmlns:soapenc="http://schemas.xmlsoap.org/wsdl/soap/encoding" xmlns:this="djatoka" |
||||
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> |
||||
<wsdl:message name="getMetadataRequest"> |
||||
<wsdl:part name="PID" type="xsd:string"/> |
||||
<wsdl:part name="DSID" type="xsd:string"/> |
||||
<wsdl:part name="svc_id" type="xsd:string"/> |
||||
</wsdl:message> |
||||
<wsdl:message name="getRegionRequest"> |
||||
<wsdl:part name="PID" type="xsd:string"/> |
||||
<wsdl:part name="DSID" type="xsd:string"/> |
||||
<wsdl:part name="svc_id" type="xsd:string"/> |
||||
</wsdl:message> |
||||
<wsdl:message name="response"> |
||||
<wsdl:part name="exhibit" type="xsd:base64Binary"/> |
||||
</wsdl:message> |
||||
<wsdl:portType name="FedoraDjatokaPortType"> |
||||
<wsdl:operation name="getMetadata"> |
||||
<wsdl:input message="this:getMetadataRequest"/> |
||||
<wsdl:output message="this:response"/> |
||||
</wsdl:operation> |
||||
<wsdl:operation name="getRegion"> |
||||
<wsdl:input message="this:getRegionRequest"/> |
||||
<wsdl:output message="this:response"/> |
||||
</wsdl:operation> |
||||
</wsdl:portType> |
||||
<wsdl:service name="FedoraDjatoka"> |
||||
<wsdl:port binding="this:FedoraDjatoka_http" name="FedoraDjatoka_port"> |
||||
<http:address location="http://local.fedora.server/"/> |
||||
</wsdl:port> |
||||
</wsdl:service> |
||||
<wsdl:binding name="FedoraDjatoka_http" type="this:FedoraDjatokaPortType"> |
||||
<http:binding verb="GET"/> |
||||
<wsdl:operation name="getMetadata"> |
||||
<http:operation location="adore-djatoka/resolver?url_ver=Z39.88-2004&rft_id=http://local.fedora.server/fedora/get/(PID)/(DSID)&svc_id=(svc_id)"/> |
||||
<wsdl:input> |
||||
<http:urlReplacement/> |
||||
</wsdl:input> |
||||
<wsdl:output> |
||||
<mime:content type="application/json"/> |
||||
</wsdl:output> |
||||
</wsdl:operation> |
||||
<wsdl:operation name="getRegion"> |
||||
<http:operation location="adore-djatoka/resolver?url_ver=Z39.88-2004&rft_id=http://local.fedora.server/fedora/get/(PID)/(DSID)&svc_id=(svc_id)&svc_val_fmt=info:ofi/fmt:kev:mtx:jpeg2000&svc.format=(format)&svc.level=(level)&svc.rotate=(rotate)&svc.region=(region)&svc.scale=(scale)&svc.clayers=(clayers)"/> |
||||
<wsdl:input> |
||||
<http:urlReplacement/> |
||||
</wsdl:input> |
||||
<wsdl:output> |
||||
<mime:content type="image/jpeg"/> |
||||
</wsdl:output> |
||||
</wsdl:operation> |
||||
</wsdl:binding> |
||||
</wsdl:definitions> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="RELS-EXT" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2010-06-01T00:48:39.302Z" FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-1.0" |
||||
<wsdl:message name="getMetadataRequest"> |
||||
<wsdl:part name="PID" type="xsd:string"/> |
||||
<wsdl:part name="DSID" type="xsd:string"/> |
||||
<wsdl:part name="svc_id" type="xsd:string"/> |
||||
</wsdl:message> |
||||
<wsdl:message name="getRegionRequest"> |
||||
<wsdl:part name="PID" type="xsd:string"/> |
||||
<wsdl:part name="DSID" type="xsd:string"/> |
||||
<wsdl:part name="svc_id" type="xsd:string"/> |
||||
</wsdl:message> |
||||
<wsdl:message name="response"> |
||||
<wsdl:part name="exhibit" type="xsd:base64Binary"/> |
||||
</wsdl:message> |
||||
<wsdl:portType name="FedoraDjatokaPortType"> |
||||
<wsdl:operation name="getMetadata"> |
||||
<wsdl:input message="this:getMetadataRequest"/> |
||||
<wsdl:output message="this:response"/> |
||||
</wsdl:operation> |
||||
<wsdl:operation name="getRegion"> |
||||
<wsdl:input message="this:getRegionRequest"/> |
||||
<wsdl:output message="this:response"/> |
||||
</wsdl:operation> |
||||
</wsdl:portType> |
||||
<wsdl:service name="FedoraDjatoka"> |
||||
<wsdl:port binding="this:FedoraDjatoka_http" name="FedoraDjatoka_port"> |
||||
<http:address location="http://local.fedora.server/"/> |
||||
</wsdl:port> |
||||
</wsdl:service> |
||||
<wsdl:binding name="FedoraDjatoka_http" type="this:FedoraDjatokaPortType"> |
||||
<http:binding verb="GET"/> |
||||
<wsdl:operation name="getMetadata"> |
||||
<http:operation location="adore-djatoka/resolver?url_ver=Z39.88-2004&rft_id=http://local.fedora.server/fedora/get/(PID)/(DSID)&svc_id=(svc_id)"/> |
||||
<wsdl:input> |
||||
<http:urlReplacement/> |
||||
</wsdl:input> |
||||
<wsdl:output> |
||||
<mime:content type="application/json"/> |
||||
</wsdl:output> |
||||
</wsdl:operation> |
||||
<wsdl:operation name="getRegion"> |
||||
<http:operation location="adore-djatoka/resolver?url_ver=Z39.88-2004&rft_id=http://local.fedora.server/fedora/get/(PID)/(DSID)&svc_id=(svc_id)&svc_val_fmt=info:ofi/fmt:kev:mtx:jpeg2000&svc.format=(format)&svc.level=(level)&svc.rotate=(rotate)&svc.region=(region)&svc.scale=(scale)&svc.clayers=(clayers)"/> |
||||
<wsdl:input> |
||||
<http:urlReplacement/> |
||||
</wsdl:input> |
||||
<wsdl:output> |
||||
<mime:content type="image/jpeg"/> |
||||
</wsdl:output> |
||||
</wsdl:operation> |
||||
</wsdl:binding> |
||||
</wsdl:definitions> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="RELS-EXT" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2010-06-01T00:48:39.302Z" FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-1.0" |
||||
ID="RELS-EXT.2" LABEL="RDF Statements about this object" MIMETYPE="application/rdf+xml" SIZE="688"> |
||||
<foxml:xmlContent> |
||||
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> |
||||
<rdf:Description rdf:about="info:fedora/ilives:jp2Sdep-pageCModel"> |
||||
<hasModel rdf:resource="info:fedora/fedora-system:ServiceDeployment-3.0" xmlns="info:fedora/fedora-system:def/model#"/> |
||||
<isDeploymentOf rdf:resource="info:fedora/ilives:jp2Sdef" xmlns="info:fedora/fedora-system:def/model#"/> |
||||
<isContractorOf rdf:resource="info:fedora/ilives:pageCModel" xmlns="info:fedora/fedora-system:def/model#"/> |
||||
<isContractorOf rdf:resource="info:fedora/newspapers:pageCModel" xmlns="info:fedora/fedora-system:def/model#"/> |
||||
</rdf:Description> |
||||
</rdf:RDF> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:xmlContent> |
||||
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> |
||||
<rdf:Description rdf:about="info:fedora/ilives:jp2Sdep-pageCModel"> |
||||
<hasModel rdf:resource="info:fedora/fedora-system:ServiceDeployment-3.0" xmlns="info:fedora/fedora-system:def/model#"/> |
||||
<isDeploymentOf rdf:resource="info:fedora/ilives:jp2Sdef" xmlns="info:fedora/fedora-system:def/model#"/> |
||||
<isContractorOf rdf:resource="info:fedora/ilives:pageCModel" xmlns="info:fedora/fedora-system:def/model#"/> |
||||
<isContractorOf rdf:resource="info:fedora/newspapers:pageCModel" xmlns="info:fedora/fedora-system:def/model#"/> |
||||
</rdf:Description> |
||||
</rdf:RDF> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
</foxml:digitalObject> |
||||
|
@ -1,72 +1,72 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<foxml:digitalObject PID="ilives:tei2htmlSdef" VERSION="1.1" xmlns:foxml="info:fedora/fedora-system:def/foxml#" |
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="info:fedora/fedora-system:def/foxml# http://www.fedora.info/definitions/1/0/foxml1-1.xsd"> |
||||
<foxml:objectProperties> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#state" VALUE="Active"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#label" VALUE="ilives:tei2htmlSdef"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#ownerId" VALUE="fedoraAdmin"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#createdDate" VALUE="2009-05-18T15:07:42.398Z"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/view#lastModifiedDate" VALUE="2010-06-01T00:46:19.652Z"/> |
||||
</foxml:objectProperties> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="AUDIT" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2009-05-18T15:07:42.398Z" |
||||
<foxml:objectProperties> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#state" VALUE="Active"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#label" VALUE="ilives:tei2htmlSdef"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#ownerId" VALUE="fedoraAdmin"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#createdDate" VALUE="2009-05-18T15:07:42.398Z"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/view#lastModifiedDate" VALUE="2010-06-01T00:46:19.652Z"/> |
||||
</foxml:objectProperties> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="AUDIT" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2009-05-18T15:07:42.398Z" |
||||
FORMAT_URI="info:fedora/fedora-system:format/xml.fedora.audit" ID="AUDIT.0" LABEL="Audit Trail for this object" MIMETYPE="text/xml"> |
||||
<foxml:xmlContent> |
||||
<audit:auditTrail xmlns:audit="info:fedora/fedora-system:def/audit#"> |
||||
<audit:record ID="AUDREC1"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>ingest</audit:action> |
||||
<audit:componentID/> |
||||
<audit:responsibility>fedoraAdmin</audit:responsibility> |
||||
<audit:date>2009-11-12T14:57:01.057Z</audit:date> |
||||
<audit:justification>Ingested from local file /Users/aoneill/dev/iiv/iiv/etc/fedora-objects/ilives_tei2htmlSdef.xml</audit:justification> |
||||
</audit:record> |
||||
<audit:record ID="AUDREC2"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>ingest</audit:action> |
||||
<audit:componentID/> |
||||
<audit:responsibility>fedoraAdmin</audit:responsibility> |
||||
<audit:date>2010-06-01T00:46:19.652Z</audit:date> |
||||
<audit:justification>Ingested from local file /Users/al/Desktop/ilives_tei2htmlSdef.xml</audit:justification> |
||||
</audit:record> |
||||
</audit:auditTrail> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="RELS-EXT" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2009-05-18T15:07:42.487Z" FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-1.0" |
||||
<foxml:xmlContent> |
||||
<audit:auditTrail xmlns:audit="info:fedora/fedora-system:def/audit#"> |
||||
<audit:record ID="AUDREC1"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>ingest</audit:action> |
||||
<audit:componentID/> |
||||
<audit:responsibility>fedoraAdmin</audit:responsibility> |
||||
<audit:date>2009-11-12T14:57:01.057Z</audit:date> |
||||
<audit:justification>Ingested from local file /Users/aoneill/dev/iiv/iiv/etc/fedora-objects/ilives_tei2htmlSdef.xml</audit:justification> |
||||
</audit:record> |
||||
<audit:record ID="AUDREC2"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>ingest</audit:action> |
||||
<audit:componentID/> |
||||
<audit:responsibility>fedoraAdmin</audit:responsibility> |
||||
<audit:date>2010-06-01T00:46:19.652Z</audit:date> |
||||
<audit:justification>Ingested from local file /Users/al/Desktop/ilives_tei2htmlSdef.xml</audit:justification> |
||||
</audit:record> |
||||
</audit:auditTrail> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="RELS-EXT" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2009-05-18T15:07:42.487Z" FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-1.0" |
||||
ID="RELS-EXT1.0" LABEL="RDF Statements about this object" MIMETYPE="application/rdf+xml" SIZE="368"> |
||||
<foxml:xmlContent> |
||||
<rdf:RDF xmlns:fedora-model="info:fedora/fedora-system:def/model#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> |
||||
<rdf:Description rdf:about="info:fedora/ilives:tei2htmlSdef"> |
||||
<fedora-model:hasModel rdf:resource="info:fedora/fedora-system:ServiceDefinition-3.0"/> |
||||
</rdf:Description> |
||||
</rdf:RDF> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="DC" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2009-05-18T15:07:42.398Z" FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/" |
||||
<foxml:xmlContent> |
||||
<rdf:RDF xmlns:fedora-model="info:fedora/fedora-system:def/model#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> |
||||
<rdf:Description rdf:about="info:fedora/ilives:tei2htmlSdef"> |
||||
<fedora-model:hasModel rdf:resource="info:fedora/fedora-system:ServiceDefinition-3.0"/> |
||||
</rdf:Description> |
||||
</rdf:RDF> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="DC" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2009-05-18T15:07:42.398Z" FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/" |
||||
ID="DC1.0" LABEL="Dublin Core Record for this object" MIMETYPE="text/xml" SIZE="391"> |
||||
<foxml:xmlContent> |
||||
<oai_dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/" |
||||
<foxml:xmlContent> |
||||
<oai_dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/" |
||||
xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" |
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd"> |
||||
<dc:title>ilives:tei2htmlSdef</dc:title> |
||||
<dc:identifier>ilives:tei2htmlSdef</dc:identifier> |
||||
</oai_dc:dc> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="METHODMAP" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2009-05-18T20:08:16.294Z" |
||||
<dc:title>ilives:tei2htmlSdef</dc:title> |
||||
<dc:identifier>ilives:tei2htmlSdef</dc:identifier> |
||||
</oai_dc:dc> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="METHODMAP" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2009-05-18T20:08:16.294Z" |
||||
FORMAT_URI="info:fedora/fedora-system:FedoraSDefMethodMap-1.0" ID="METHODMAP.3" LABEL="Abstract Method Map" |
||||
MIMETYPE="text/xml" SIZE="180"> |
||||
<foxml:xmlContent> |
||||
<fmm:MethodMap name="methodmap" xmlns:fmm="http://fedora.comm.nsdlib.org/service/methodmap"> |
||||
<fmm:Method operationName="tei2html"/> |
||||
</fmm:MethodMap> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:xmlContent> |
||||
<fmm:MethodMap name="methodmap" xmlns:fmm="http://fedora.comm.nsdlib.org/service/methodmap"> |
||||
<fmm:Method operationName="tei2html"/> |
||||
</fmm:MethodMap> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
</foxml:digitalObject> |
||||
|
@ -1,234 +1,241 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<foxml:digitalObject PID="ilives:tei2htmlSdep-pageCModel" VERSION="1.1" |
||||
xmlns:foxml="info:fedora/fedora-system:def/foxml#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="info:fedora/fedora-system:def/foxml# http://www.fedora.info/definitions/1/0/foxml1-1.xsd"> |
||||
<foxml:objectProperties> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#state" VALUE="Active"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#label" VALUE="ilives:tei2htmlSdep-pageCModel"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#ownerId" VALUE="fedoraAdmin"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#createdDate" VALUE="2009-05-21T03:24:05.906Z"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/view#lastModifiedDate" VALUE="2010-06-01T00:46:19.847Z"/> |
||||
</foxml:objectProperties> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="AUDIT" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2009-05-21T03:24:05.906Z" |
||||
<foxml:objectProperties> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#state" VALUE="Active"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#label" VALUE="ilives:tei2htmlSdep-pageCModel"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#ownerId" VALUE="fedoraAdmin"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#createdDate" VALUE="2009-05-21T03:24:05.906Z"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/view#lastModifiedDate" VALUE="2010-06-01T00:46:19.847Z"/> |
||||
</foxml:objectProperties> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="AUDIT" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2009-05-21T03:24:05.906Z" |
||||
FORMAT_URI="info:fedora/fedora-system:format/xml.fedora.audit" ID="AUDIT.0" LABEL="Audit Trail for this object" MIMETYPE="text/xml"> |
||||
<foxml:xmlContent> |
||||
<audit:auditTrail xmlns:audit="info:fedora/fedora-system:def/audit#"> |
||||
<audit:record ID="AUDREC1"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>ingest</audit:action> |
||||
<audit:componentID/> |
||||
<audit:responsibility>fedoraAdmin</audit:responsibility> |
||||
<audit:date>2009-11-12T14:57:01.366Z</audit:date> |
||||
<audit:justification>Ingested from local file /Users/aoneill/dev/iiv/iiv/etc/fedora-objects/ilives_tei2htmlSdep-pageCModel.xml</audit:justification> |
||||
</audit:record> |
||||
<audit:record ID="AUDREC2"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>modifyDatastreamByValue</audit:action> |
||||
<audit:componentID>XSL</audit:componentID> |
||||
<audit:responsibility>fedoraAdmin</audit:responsibility> |
||||
<audit:date>2009-12-11T19:09:52.417Z</audit:date> |
||||
<audit:justification/> |
||||
</audit:record> |
||||
<audit:record ID="AUDREC3"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>modifyDatastreamByValue</audit:action> |
||||
<audit:componentID>XSL</audit:componentID> |
||||
<audit:responsibility>fedoraAdmin</audit:responsibility> |
||||
<audit:date>2009-12-11T19:22:11.096Z</audit:date> |
||||
<audit:justification/> |
||||
</audit:record> |
||||
<audit:record ID="AUDREC4"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>ingest</audit:action> |
||||
<audit:componentID/> |
||||
<audit:responsibility>fedoraAdmin</audit:responsibility> |
||||
<audit:date>2010-06-01T00:46:19.847Z</audit:date> |
||||
<audit:justification>Ingested from local file /Users/al/Desktop/ilives_tei2htmlSdep-pageCModel.xml</audit:justification> |
||||
</audit:record> |
||||
</audit:auditTrail> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="RELS-EXT" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2009-05-21T03:25:04.961Z" FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-1.0" |
||||
<foxml:xmlContent> |
||||
<audit:auditTrail xmlns:audit="info:fedora/fedora-system:def/audit#"> |
||||
<audit:record ID="AUDREC1"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>ingest</audit:action> |
||||
<audit:componentID/> |
||||
<audit:responsibility>fedoraAdmin</audit:responsibility> |
||||
<audit:date>2009-11-12T14:57:01.366Z</audit:date> |
||||
<audit:justification>Ingested from local file /Users/aoneill/dev/iiv/iiv/etc/fedora-objects/ilives_tei2htmlSdep-pageCModel.xml</audit:justification> |
||||
</audit:record> |
||||
<audit:record ID="AUDREC2"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>modifyDatastreamByValue</audit:action> |
||||
<audit:componentID>XSL</audit:componentID> |
||||
<audit:responsibility>fedoraAdmin</audit:responsibility> |
||||
<audit:date>2009-12-11T19:09:52.417Z</audit:date> |
||||
<audit:justification/> |
||||
</audit:record> |
||||
<audit:record ID="AUDREC3"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>modifyDatastreamByValue</audit:action> |
||||
<audit:componentID>XSL</audit:componentID> |
||||
<audit:responsibility>fedoraAdmin</audit:responsibility> |
||||
<audit:date>2009-12-11T19:22:11.096Z</audit:date> |
||||
<audit:justification/> |
||||
</audit:record> |
||||
<audit:record ID="AUDREC4"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>ingest</audit:action> |
||||
<audit:componentID/> |
||||
<audit:responsibility>fedoraAdmin</audit:responsibility> |
||||
<audit:date>2010-06-01T00:46:19.847Z</audit:date> |
||||
<audit:justification>Ingested from local file /Users/al/Desktop/ilives_tei2htmlSdep-pageCModel.xml</audit:justification> |
||||
</audit:record> |
||||
</audit:auditTrail> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="RELS-EXT" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2009-05-21T03:25:04.961Z" FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-1.0" |
||||
ID="RELS-EXT.1" LABEL="RDF Statements about this object" MIMETYPE="application/rdf+xml" SIZE="614"> |
||||
<foxml:xmlContent> |
||||
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> |
||||
<rdf:Description rdf:about="info:fedora/ilives:tei2htmlSdep-pageCModel"> |
||||
<hasModel rdf:resource="info:fedora/fedora-system:ServiceDeployment-3.0" xmlns="info:fedora/fedora-system:def/model#"/> |
||||
<isDeploymentOf rdf:resource="info:fedora/ilives:tei2htmlSdef" xmlns="info:fedora/fedora-system:def/model#"/> |
||||
<isContractorOf rdf:resource="info:fedora/ilives:pageCModel" xmlns="info:fedora/fedora-system:def/model#"/> |
||||
</rdf:Description> |
||||
</rdf:RDF> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="DC" STATE="A" VERSIONABLE="true"> |
||||
<foxml:datastreamVersion CREATED="2009-05-21T03:24:05.906Z" FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/" |
||||
<foxml:xmlContent> |
||||
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> |
||||
<rdf:Description rdf:about="info:fedora/ilives:tei2htmlSdep-pageCModel"> |
||||
<hasModel rdf:resource="info:fedora/fedora-system:ServiceDeployment-3.0" xmlns="info:fedora/fedora-system:def/model#"/> |
||||
<isDeploymentOf rdf:resource="info:fedora/ilives:tei2htmlSdef" xmlns="info:fedora/fedora-system:def/model#"/> |
||||
<isContractorOf rdf:resource="info:fedora/ilives:pageCModel" xmlns="info:fedora/fedora-system:def/model#"/> |
||||
</rdf:Description> |
||||
</rdf:RDF> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="DC" STATE="A" VERSIONABLE="true"> |
||||
<foxml:datastreamVersion CREATED="2009-05-21T03:24:05.906Z" FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/" |
||||
ID="DC1.0" LABEL="Dublin Core Record for this object" MIMETYPE="text/xml" SIZE="413"> |
||||
<foxml:xmlContent> |
||||
<oai_dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/" |
||||
<foxml:xmlContent> |
||||
<oai_dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/" |
||||
xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" |
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd"> |
||||
<dc:title>ilives:tei2htmlSdep-pageCModel</dc:title> |
||||
<dc:identifier>ilives:tei2htmlSdep-pageCModel</dc:identifier> |
||||
</oai_dc:dc> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="DSINPUTSPEC" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2009-09-17T02:47:11.226Z" |
||||
<dc:title>ilives:tei2htmlSdep-pageCModel</dc:title> |
||||
<dc:identifier>ilives:tei2htmlSdep-pageCModel</dc:identifier> |
||||
</oai_dc:dc> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="DSINPUTSPEC" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2009-09-17T02:47:11.226Z" |
||||
FORMAT_URI="info:fedora/fedora-system:FedoraDSInputSpec-1.1" ID="DSINPUTSPEC.3" |
||||
LABEL="Datastream Input Specification" MIMETYPE="text/xml" SIZE="718"> |
||||
<foxml:xmlContent> |
||||
<fbs:DSInputSpec label="tei2htmlSdepInputSpec" xmlns:fbs="http://fedora.comm.nsdlib.org/service/bindspec"> |
||||
<fbs:DSInput DSMax="1" DSMin="1" DSOrdinality="false" wsdlMsgPartName="TEI"> |
||||
<fbs:DSInputLabel>TEI</fbs:DSInputLabel> |
||||
<fbs:DSMIME>text/xml</fbs:DSMIME> |
||||
<fbs:DSInputInstruction/> |
||||
</fbs:DSInput> |
||||
<fbs:DSInput DSMax="1" DSMin="1" DSOrdinality="false" pid="ilives:tei2htmlSdep-pageCModel" wsdlMsgPartName="XSL"> |
||||
<fbs:DSInputLabel>XSL</fbs:DSInputLabel> |
||||
<fbs:DSMIME>text/xml</fbs:DSMIME> |
||||
<fbs:DSInputInstruction/> |
||||
</fbs:DSInput> |
||||
</fbs:DSInputSpec> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="WSDL" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2009-09-17T02:47:56.422Z" FORMAT_URI="http://schemas.xmlsoap.org/wsdl/" |
||||
<foxml:xmlContent> |
||||
<fbs:DSInputSpec label="tei2htmlSdepInputSpec" xmlns:fbs="http://fedora.comm.nsdlib.org/service/bindspec"> |
||||
<fbs:DSInput DSMax="1" DSMin="1" DSOrdinality="false" wsdlMsgPartName="TEI"> |
||||
<fbs:DSInputLabel>TEI</fbs:DSInputLabel> |
||||
<fbs:DSMIME>text/xml</fbs:DSMIME> |
||||
<fbs:DSInputInstruction/> |
||||
</fbs:DSInput> |
||||
<fbs:DSInput DSMax="1" DSMin="1" DSOrdinality="false" pid="ilives:tei2htmlSdep-pageCModel" wsdlMsgPartName="XSL"> |
||||
<fbs:DSInputLabel>XSL</fbs:DSInputLabel> |
||||
<fbs:DSMIME>text/xml</fbs:DSMIME> |
||||
<fbs:DSInputInstruction/> |
||||
</fbs:DSInput> |
||||
</fbs:DSInputSpec> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="WSDL" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2009-09-17T02:47:56.422Z" FORMAT_URI="http://schemas.xmlsoap.org/wsdl/" |
||||
ID="WSDL.3" LABEL="WSDL Bindings" MIMETYPE="text/xml" SIZE="1938"> |
||||
<foxml:xmlContent> |
||||
<wsdl:definitions name="tei2htmlSdep" targetNamespace="tei2htmlSdep" |
||||
<foxml:xmlContent> |
||||
<wsdl:definitions name="tei2htmlSdep" targetNamespace="tei2htmlSdep" |
||||
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" |
||||
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap" |
||||
xmlns:soapenc="http://schemas.xmlsoap.org/wsdl/soap/encoding" xmlns:this="tei2htmlSdep" |
||||
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> |
||||
<wsdl:message name="tei2htmlRequestMsg"> |
||||
<wsdl:part name="TEI" type="xsd:string"/> |
||||
<wsdl:part name="XSL" type="xsd:string"/> |
||||
</wsdl:message> |
||||
<wsdl:message name="response"> |
||||
<wsdl:part name="exhibit" type="xsd:base64Binary"/> |
||||
</wsdl:message> |
||||
<wsdl:portType name="tei2html_portType"> |
||||
<wsdl:operation name="tei2html"> |
||||
<wsdl:input message="this:tei2htmlRequestMsg"/> |
||||
<wsdl:output message="this:response"/> |
||||
</wsdl:operation> |
||||
</wsdl:portType> |
||||
<wsdl:service name="tei2html_service"> |
||||
<wsdl:port binding="this:tei2html_binding" name="tei2html_port"> |
||||
<http:address location="http://local.fedora.server/saxon/"/> |
||||
</wsdl:port> |
||||
</wsdl:service> |
||||
<wsdl:binding name="tei2html_binding" type="this:tei2html_portType"> |
||||
<http:binding verb="GET"/> |
||||
<wsdl:operation name="tei2html"> |
||||
<http:operation location="SaxonServlet?source=(TEI)&style=(XSL)&clear-stylesheet-cache=yes"/> |
||||
<wsdl:input> |
||||
<http:urlReplacement/> |
||||
</wsdl:input> |
||||
<wsdl:output> |
||||
<mime:content type="text/html"/> |
||||
</wsdl:output> |
||||
</wsdl:operation> |
||||
</wsdl:binding> |
||||
</wsdl:definitions> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="METHODMAP" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2009-09-17T02:51:06.102Z" |
||||
<wsdl:message name="tei2htmlRequestMsg"> |
||||
<wsdl:part name="TEI" type="xsd:string"/> |
||||
<wsdl:part name="XSL" type="xsd:string"/> |
||||
</wsdl:message> |
||||
<wsdl:message name="response"> |
||||
<wsdl:part name="exhibit" type="xsd:base64Binary"/> |
||||
</wsdl:message> |
||||
<wsdl:portType name="tei2html_portType"> |
||||
<wsdl:operation name="tei2html"> |
||||
<wsdl:input message="this:tei2htmlRequestMsg"/> |
||||
<wsdl:output message="this:response"/> |
||||
</wsdl:operation> |
||||
</wsdl:portType> |
||||
<wsdl:service name="tei2html_service"> |
||||
<wsdl:port binding="this:tei2html_binding" name="tei2html_port"> |
||||
<http:address location="http://local.fedora.server/saxon/"/> |
||||
</wsdl:port> |
||||
</wsdl:service> |
||||
<wsdl:binding name="tei2html_binding" type="this:tei2html_portType"> |
||||
<http:binding verb="GET"/> |
||||
<wsdl:operation name="tei2html"> |
||||
<http:operation location="SaxonServlet?source=(TEI)&style=(XSL)&clear-stylesheet-cache=yes"/> |
||||
<wsdl:input> |
||||
<http:urlReplacement/> |
||||
</wsdl:input> |
||||
<wsdl:output> |
||||
<mime:content type="text/html"/> |
||||
</wsdl:output> |
||||
</wsdl:operation> |
||||
</wsdl:binding> |
||||
</wsdl:definitions> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="METHODMAP" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2009-09-17T02:51:06.102Z" |
||||
FORMAT_URI="info:fedora/fedora-system:FedoraSDepMethodMap-1.1" ID="METHODMAP.6" LABEL="Deployment Method Map" |
||||
MIMETYPE="text/xml" SIZE="695"> |
||||
<foxml:xmlContent> |
||||
<fmm:MethodMap name="methodmap" xmlns:fmm="http://fedora.comm.nsdlib.org/service/methodmap"> |
||||
<fmm:Method operationName="tei2html" wsdlMsgName="tei2htmlRequestMsg" wsdlMsgOutput="response"> |
||||
<fmm:DatastreamInputParm parmName="TEI" passBy="URL_REF" required="true"/> |
||||
<fmm:DatastreamInputParm parmName="XSL" passBy="URL_REF" required="true"/> |
||||
<fmm:UserInputParm defaultValue="" parmName="uid" passBy="VALUE" required="false"/> |
||||
<fmm:MethodReturnType wsdlMsgName="response" wsdlMsgTOMIME="text/html"/> |
||||
</fmm:Method> |
||||
</fmm:MethodMap> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="XSL" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2009-12-11T19:22:11.096Z" ID="XSL.2" |
||||
<foxml:xmlContent> |
||||
<fmm:MethodMap name="methodmap" xmlns:fmm="http://fedora.comm.nsdlib.org/service/methodmap"> |
||||
<fmm:Method operationName="tei2html" wsdlMsgName="tei2htmlRequestMsg" wsdlMsgOutput="response"> |
||||
<fmm:DatastreamInputParm parmName="TEI" passBy="URL_REF" required="true"/> |
||||
<fmm:DatastreamInputParm parmName="XSL" passBy="URL_REF" required="true"/> |
||||
<fmm:UserInputParm defaultValue="" parmName="uid" passBy="VALUE" required="false"/> |
||||
<fmm:MethodReturnType wsdlMsgName="response" wsdlMsgTOMIME="text/html"/> |
||||
</fmm:Method> |
||||
</fmm:MethodMap> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="XSL" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2009-12-11T19:22:11.096Z" ID="XSL.2" |
||||
LABEL="XSL stylesheet for tei2html conversion" MIMETYPE="text/xml" SIZE="3406"> |
||||
<foxml:xmlContent> |
||||
<xsl:stylesheet exclude-result-prefixes="tei" version="2.0" xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> |
||||
<xsl:output doctype-public="-//W3C//DTD HTML 4.01 Strict//EN" |
||||
<foxml:xmlContent> |
||||
<xsl:stylesheet exclude-result-prefixes="tei" version="2.0" xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> |
||||
<xsl:output doctype-public="-//W3C//DTD HTML 4.01 Strict//EN" |
||||
doctype-system="http://www.w3.org/TR/html4/strict.dtd" indent="yes" method="html" omit-xml-declaration="yes"/> |
||||
<xsl:template match="tei:TEI"> |
||||
<html> |
||||
<head> |
||||
<title> |
||||
<xsl:value-of select="normalize-space(tei:teiHeader/tei:fileDesc/tei:titleStmt/tei:title)"/> |
||||
</title> |
||||
</head> |
||||
<body> |
||||
<xsl:apply-templates/> |
||||
</body> |
||||
</html> |
||||
</xsl:template> |
||||
<xsl:template match="tei:body"> |
||||
<div class="tei"> |
||||
<xsl:apply-templates/> |
||||
</div> |
||||
</xsl:template> |
||||
<xsl:template match="tei:p"> |
||||
<p> |
||||
<xsl:apply-templates/> |
||||
</p> |
||||
</xsl:template> |
||||
<xsl:template match="tei:date"> |
||||
<span class="date"> |
||||
<xsl:value-of select="normalize-space(.)"/> |
||||
</span> |
||||
</xsl:template> |
||||
<xsl:template match="tei:persName"> |
||||
<xsl:choose> |
||||
<xsl:when test="(.//tei:surname) and (.//tei:forename)"> |
||||
<span class="persName"> |
||||
<a> |
||||
<xsl:attribute name="class">search persName</xsl:attribute> |
||||
<xsl:attribute name="target">_blank</xsl:attribute> |
||||
<xsl:attribute |
||||
name="href">http://islandlives.net/fedora/ilives_book_search/tei.persNameTERM:%22<xsl:value-of |
||||
select=".//tei:surname"/>+<xsl:value-of select=".//tei:forename"/>%22+AND+dc.type:collection</xsl:attribute> |
||||
<xsl:apply-templates select="*|node()"/> |
||||
</a> |
||||
</span> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:apply-templates select="*|node()"/> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</xsl:template> |
||||
<xsl:template match="tei:placeName"> |
||||
<a> |
||||
<xsl:attribute name="class">search placeName</xsl:attribute> |
||||
<xsl:attribute name="target">_blank</xsl:attribute> |
||||
<xsl:attribute |
||||
name="href">http://islandlives.net/fedora/ilives_book_search/tei.placeNameTERM:%22<xsl:value-of select="normalize-space(.)"/>%22+AND+dc.type:collection</xsl:attribute> |
||||
<xsl:value-of select="normalize-space(.)"/> |
||||
</a> |
||||
</xsl:template> |
||||
<xsl:template match="tei:orgName"> |
||||
<a> |
||||
<xsl:attribute name="class">search orgName</xsl:attribute> |
||||
<xsl:attribute name="target">_blank</xsl:attribute> |
||||
<xsl:attribute |
||||
name="href">http://islandlives.net/fedora/ilives_book_search/tei.orgNameTERM:%22<xsl:value-of select="normalize-space(.)"/>%22+AND+dc.type:collection</xsl:attribute> |
||||
<xsl:value-of select="normalize-space(.)"/> |
||||
</a> |
||||
</xsl:template> |
||||
<xsl:template match="tei:teiHeader"/> |
||||
</xsl:stylesheet> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<xsl:template match="tei:TEI"> |
||||
<html> |
||||
<head> |
||||
<title> |
||||
<xsl:value-of select="normalize-space(tei:teiHeader/tei:fileDesc/tei:titleStmt/tei:title)"/> |
||||
</title> |
||||
</head> |
||||
<body> |
||||
<xsl:apply-templates/> |
||||
</body> |
||||
</html> |
||||
</xsl:template> |
||||
<xsl:template match="tei:body"> |
||||
<div class="tei"> |
||||
<xsl:apply-templates/> |
||||
</div> |
||||
</xsl:template> |
||||
<xsl:template match="tei:p"> |
||||
<p> |
||||
<xsl:apply-templates/> |
||||
</p> |
||||
</xsl:template> |
||||
<xsl:template match="tei:date"> |
||||
<span class="date"> |
||||
<xsl:value-of select="normalize-space(.)"/> |
||||
</span> |
||||
</xsl:template> |
||||
<xsl:template match="tei:persName"> |
||||
<xsl:choose> |
||||
<xsl:when test="(.//tei:surname) and (.//tei:forename)"> |
||||
<span class="persName"> |
||||
<a> |
||||
<xsl:attribute name="class">search persName</xsl:attribute> |
||||
<xsl:attribute name="target">_blank</xsl:attribute> |
||||
<xsl:attribute |
||||
name="href">http://islandlives.net/fedora/ilives_book_search/tei.persNameTERM:%22 |
||||
<xsl:value-of |
||||
select=".//tei:surname"/>+ |
||||
<xsl:value-of select=".//tei:forename"/>%22+AND+dc.type:collection |
||||
</xsl:attribute> |
||||
<xsl:apply-templates select="*|node()"/> |
||||
</a> |
||||
</span> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:apply-templates select="*|node()"/> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</xsl:template> |
||||
<xsl:template match="tei:placeName"> |
||||
<a> |
||||
<xsl:attribute name="class">search placeName</xsl:attribute> |
||||
<xsl:attribute name="target">_blank</xsl:attribute> |
||||
<xsl:attribute |
||||
name="href">http://islandlives.net/fedora/ilives_book_search/tei.placeNameTERM:%22 |
||||
<xsl:value-of select="normalize-space(.)"/>%22+AND+dc.type:collection |
||||
</xsl:attribute> |
||||
<xsl:value-of select="normalize-space(.)"/> |
||||
</a> |
||||
</xsl:template> |
||||
<xsl:template match="tei:orgName"> |
||||
<a> |
||||
<xsl:attribute name="class">search orgName</xsl:attribute> |
||||
<xsl:attribute name="target">_blank</xsl:attribute> |
||||
<xsl:attribute |
||||
name="href">http://islandlives.net/fedora/ilives_book_search/tei.orgNameTERM:%22 |
||||
<xsl:value-of select="normalize-space(.)"/>%22+AND+dc.type:collection |
||||
</xsl:attribute> |
||||
<xsl:value-of select="normalize-space(.)"/> |
||||
</a> |
||||
</xsl:template> |
||||
<xsl:template match="tei:teiHeader"/> |
||||
</xsl:stylesheet> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
</foxml:digitalObject> |
||||
|
@ -1,72 +1,72 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<foxml:digitalObject PID="ilives:viewerSdef" VERSION="1.1" xmlns:foxml="info:fedora/fedora-system:def/foxml#" |
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="info:fedora/fedora-system:def/foxml# http://www.fedora.info/definitions/1/0/foxml1-1.xsd"> |
||||
<foxml:objectProperties> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#state" VALUE="Active"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#label" VALUE="ilives:viewerSdef"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#ownerId" VALUE="fedoraAdmin"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#createdDate" VALUE="2009-05-18T15:07:42.398Z"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/view#lastModifiedDate" VALUE="2010-05-25T13:17:14.247Z"/> |
||||
</foxml:objectProperties> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="AUDIT" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2009-05-18T15:07:42.398Z" |
||||
<foxml:objectProperties> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#state" VALUE="Active"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#label" VALUE="ilives:viewerSdef"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#ownerId" VALUE="fedoraAdmin"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#createdDate" VALUE="2009-05-18T15:07:42.398Z"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/view#lastModifiedDate" VALUE="2010-05-25T13:17:14.247Z"/> |
||||
</foxml:objectProperties> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="AUDIT" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2009-05-18T15:07:42.398Z" |
||||
FORMAT_URI="info:fedora/fedora-system:format/xml.fedora.audit" ID="AUDIT.0" LABEL="Audit Trail for this object" MIMETYPE="text/xml"> |
||||
<foxml:xmlContent> |
||||
<audit:auditTrail xmlns:audit="info:fedora/fedora-system:def/audit#"> |
||||
<audit:record ID="AUDREC1"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>ingest</audit:action> |
||||
<audit:componentID/> |
||||
<audit:responsibility>fedoraAdmin</audit:responsibility> |
||||
<audit:date>2009-11-12T17:09:29.912Z</audit:date> |
||||
<audit:justification>Ingested from local file /Users/aoneill/dev/iiv/iiv/etc/fedora-objects/ilives_viewerSdef.xml</audit:justification> |
||||
</audit:record> |
||||
<audit:record ID="AUDREC2"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>ingest</audit:action> |
||||
<audit:componentID/> |
||||
<audit:responsibility>admin</audit:responsibility> |
||||
<audit:date>2010-05-25T13:17:14.247Z</audit:date> |
||||
<audit:justification>Fedora Object Ingested</audit:justification> |
||||
</audit:record> |
||||
</audit:auditTrail> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="RELS-EXT" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2009-05-18T15:07:42.487Z" FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-1.0" |
||||
<foxml:xmlContent> |
||||
<audit:auditTrail xmlns:audit="info:fedora/fedora-system:def/audit#"> |
||||
<audit:record ID="AUDREC1"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>ingest</audit:action> |
||||
<audit:componentID/> |
||||
<audit:responsibility>fedoraAdmin</audit:responsibility> |
||||
<audit:date>2009-11-12T17:09:29.912Z</audit:date> |
||||
<audit:justification>Ingested from local file /Users/aoneill/dev/iiv/iiv/etc/fedora-objects/ilives_viewerSdef.xml</audit:justification> |
||||
</audit:record> |
||||
<audit:record ID="AUDREC2"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>ingest</audit:action> |
||||
<audit:componentID/> |
||||
<audit:responsibility>admin</audit:responsibility> |
||||
<audit:date>2010-05-25T13:17:14.247Z</audit:date> |
||||
<audit:justification>Fedora Object Ingested</audit:justification> |
||||
</audit:record> |
||||
</audit:auditTrail> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="RELS-EXT" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2009-05-18T15:07:42.487Z" FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-1.0" |
||||
ID="RELS-EXT1.0" LABEL="RDF Statements about this object" MIMETYPE="application/rdf+xml" SIZE="366"> |
||||
<foxml:xmlContent> |
||||
<rdf:RDF xmlns:fedora-model="info:fedora/fedora-system:def/model#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> |
||||
<rdf:Description rdf:about="info:fedora/ilives:viewerSdef"> |
||||
<fedora-model:hasModel rdf:resource="info:fedora/fedora-system:ServiceDefinition-3.0"/> |
||||
</rdf:Description> |
||||
</rdf:RDF> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="DC" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2009-05-18T15:07:42.398Z" FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/" |
||||
<foxml:xmlContent> |
||||
<rdf:RDF xmlns:fedora-model="info:fedora/fedora-system:def/model#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> |
||||
<rdf:Description rdf:about="info:fedora/ilives:viewerSdef"> |
||||
<fedora-model:hasModel rdf:resource="info:fedora/fedora-system:ServiceDefinition-3.0"/> |
||||
</rdf:Description> |
||||
</rdf:RDF> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="DC" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2009-05-18T15:07:42.398Z" FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/" |
||||
ID="DC1.0" LABEL="Dublin Core Record for this object" MIMETYPE="text/xml" SIZE="387"> |
||||
<foxml:xmlContent> |
||||
<oai_dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/" |
||||
<foxml:xmlContent> |
||||
<oai_dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/" |
||||
xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" |
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd"> |
||||
<dc:title>ilives:viewerSdef</dc:title> |
||||
<dc:identifier>ilives:viewerSdef</dc:identifier> |
||||
</oai_dc:dc> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="METHODMAP" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2009-05-18T20:08:16.294Z" |
||||
<dc:title>ilives:viewerSdef</dc:title> |
||||
<dc:identifier>ilives:viewerSdef</dc:identifier> |
||||
</oai_dc:dc> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="METHODMAP" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2009-05-18T20:08:16.294Z" |
||||
FORMAT_URI="info:fedora/fedora-system:FedoraSDefMethodMap-1.0" ID="METHODMAP.3" LABEL="Abstract Method Map" |
||||
MIMETYPE="text/xml" SIZE="181"> |
||||
<foxml:xmlContent> |
||||
<fmm:MethodMap name="methodmap" xmlns:fmm="http://fedora.comm.nsdlib.org/service/methodmap"> |
||||
<fmm:Method operationName="getViewer"/> |
||||
</fmm:MethodMap> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:xmlContent> |
||||
<fmm:MethodMap name="methodmap" xmlns:fmm="http://fedora.comm.nsdlib.org/service/methodmap"> |
||||
<fmm:Method operationName="getViewer"/> |
||||
</fmm:MethodMap> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
</foxml:digitalObject> |
||||
|
@ -1,157 +1,157 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<foxml:digitalObject PID="ilives:viewerSdep-bookCModel" VERSION="1.1" xmlns:foxml="info:fedora/fedora-system:def/foxml#" |
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="info:fedora/fedora-system:def/foxml# http://www.fedora.info/definitions/1/0/foxml1-1.xsd"> |
||||
<foxml:objectProperties> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#state" VALUE="Active"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#label" VALUE="ilives:viewerSdep-bookCModel"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#ownerId" VALUE="fedoraAdmin"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#createdDate" VALUE="2009-05-18T19:50:00.488Z"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/view#lastModifiedDate" VALUE="2010-05-31T20:57:49.117Z"/> |
||||
</foxml:objectProperties> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="AUDIT" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2009-05-18T19:50:00.488Z" |
||||
<foxml:objectProperties> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#state" VALUE="Active"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#label" VALUE="ilives:viewerSdep-bookCModel"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#ownerId" VALUE="fedoraAdmin"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#createdDate" VALUE="2009-05-18T19:50:00.488Z"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/view#lastModifiedDate" VALUE="2010-05-31T20:57:49.117Z"/> |
||||
</foxml:objectProperties> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="AUDIT" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2009-05-18T19:50:00.488Z" |
||||
FORMAT_URI="info:fedora/fedora-system:format/xml.fedora.audit" ID="AUDIT.0" LABEL="Audit Trail for this object" MIMETYPE="text/xml"> |
||||
<foxml:xmlContent> |
||||
<audit:auditTrail xmlns:audit="info:fedora/fedora-system:def/audit#"> |
||||
<audit:record ID="AUDREC1"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>ingest</audit:action> |
||||
<audit:componentID/> |
||||
<audit:responsibility>fedoraAdmin</audit:responsibility> |
||||
<audit:date>2009-11-12T17:09:41.797Z</audit:date> |
||||
<audit:justification>Ingested from local file /Users/aoneill/dev/iiv/iiv/etc/fedora-objects/ilives_viewerSdep-bookCModel.xml</audit:justification> |
||||
</audit:record> |
||||
<audit:record ID="AUDREC2"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>ingest</audit:action> |
||||
<audit:componentID/> |
||||
<audit:responsibility>fedoraAdmin</audit:responsibility> |
||||
<audit:date>2010-05-31T20:03:42.709Z</audit:date> |
||||
<audit:justification>Ingested from source repository with pid ilives:viewerSdep-bookCModel</audit:justification> |
||||
</audit:record> |
||||
<audit:record ID="AUDREC3"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>modifyDatastreamByValue</audit:action> |
||||
<audit:componentID>RELS-EXT</audit:componentID> |
||||
<audit:responsibility>fedoraAdmin</audit:responsibility> |
||||
<audit:date>2010-05-31T20:04:57.893Z</audit:date> |
||||
<audit:justification/> |
||||
</audit:record> |
||||
<audit:record ID="AUDREC4"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>modifyDatastreamByValue</audit:action> |
||||
<audit:componentID>RELS-EXT</audit:componentID> |
||||
<audit:responsibility>fedoraAdmin</audit:responsibility> |
||||
<audit:date>2010-05-31T20:57:49.117Z</audit:date> |
||||
<audit:justification/> |
||||
</audit:record> |
||||
</audit:auditTrail> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="DC" STATE="A" VERSIONABLE="true"> |
||||
<foxml:datastreamVersion CREATED="2009-05-18T19:50:00.488Z" FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/" |
||||
<foxml:xmlContent> |
||||
<audit:auditTrail xmlns:audit="info:fedora/fedora-system:def/audit#"> |
||||
<audit:record ID="AUDREC1"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>ingest</audit:action> |
||||
<audit:componentID/> |
||||
<audit:responsibility>fedoraAdmin</audit:responsibility> |
||||
<audit:date>2009-11-12T17:09:41.797Z</audit:date> |
||||
<audit:justification>Ingested from local file /Users/aoneill/dev/iiv/iiv/etc/fedora-objects/ilives_viewerSdep-bookCModel.xml</audit:justification> |
||||
</audit:record> |
||||
<audit:record ID="AUDREC2"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>ingest</audit:action> |
||||
<audit:componentID/> |
||||
<audit:responsibility>fedoraAdmin</audit:responsibility> |
||||
<audit:date>2010-05-31T20:03:42.709Z</audit:date> |
||||
<audit:justification>Ingested from source repository with pid ilives:viewerSdep-bookCModel</audit:justification> |
||||
</audit:record> |
||||
<audit:record ID="AUDREC3"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>modifyDatastreamByValue</audit:action> |
||||
<audit:componentID>RELS-EXT</audit:componentID> |
||||
<audit:responsibility>fedoraAdmin</audit:responsibility> |
||||
<audit:date>2010-05-31T20:04:57.893Z</audit:date> |
||||
<audit:justification/> |
||||
</audit:record> |
||||
<audit:record ID="AUDREC4"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>modifyDatastreamByValue</audit:action> |
||||
<audit:componentID>RELS-EXT</audit:componentID> |
||||
<audit:responsibility>fedoraAdmin</audit:responsibility> |
||||
<audit:date>2010-05-31T20:57:49.117Z</audit:date> |
||||
<audit:justification/> |
||||
</audit:record> |
||||
</audit:auditTrail> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="DC" STATE="A" VERSIONABLE="true"> |
||||
<foxml:datastreamVersion CREATED="2009-05-18T19:50:00.488Z" FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/" |
||||
ID="DC1.0" LABEL="Dublin Core Record for this object" MIMETYPE="text/xml" SIZE="409"> |
||||
<foxml:xmlContent> |
||||
<oai_dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/" |
||||
<foxml:xmlContent> |
||||
<oai_dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/" |
||||
xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" |
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd"> |
||||
<dc:title>ilives:viewerSdep-bookCModel</dc:title> |
||||
<dc:identifier>ilives:viewerSdep-bookCModel</dc:identifier> |
||||
</oai_dc:dc> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="DSINPUTSPEC" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2009-05-18T19:52:55.042Z" |
||||
<dc:title>ilives:viewerSdep-bookCModel</dc:title> |
||||
<dc:identifier>ilives:viewerSdep-bookCModel</dc:identifier> |
||||
</oai_dc:dc> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="DSINPUTSPEC" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2009-05-18T19:52:55.042Z" |
||||
FORMAT_URI="info:fedora/fedora-system:FedoraDSInputSpec-1.1" ID="DSINPUTSPEC.1" |
||||
LABEL="Datastream Input Specification" MIMETYPE="text/xml" SIZE="404"> |
||||
<foxml:xmlContent> |
||||
<fbs:DSInputSpec label="viewerSdepInputSpec" xmlns:fbs="http://fedora.comm.nsdlib.org/service/bindspec"> |
||||
<fbs:DSInput DSMax="1" DSMin="1" DSOrdinality="false" wsdlMsgPartName="DC"> |
||||
<fbs:DSInputLabel>DC</fbs:DSInputLabel> |
||||
<fbs:DSMIME>text/xml</fbs:DSMIME> |
||||
<fbs:DSInputInstruction/> |
||||
</fbs:DSInput> |
||||
</fbs:DSInputSpec> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="METHODMAP" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2009-05-19T13:34:53.687Z" |
||||
<foxml:xmlContent> |
||||
<fbs:DSInputSpec label="viewerSdepInputSpec" xmlns:fbs="http://fedora.comm.nsdlib.org/service/bindspec"> |
||||
<fbs:DSInput DSMax="1" DSMin="1" DSOrdinality="false" wsdlMsgPartName="DC"> |
||||
<fbs:DSInputLabel>DC</fbs:DSInputLabel> |
||||
<fbs:DSMIME>text/xml</fbs:DSMIME> |
||||
<fbs:DSInputInstruction/> |
||||
</fbs:DSInput> |
||||
</fbs:DSInputSpec> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="METHODMAP" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2009-05-19T13:34:53.687Z" |
||||
FORMAT_URI="info:fedora/fedora-system:FedoraSDepMethodMap-1.1" ID="METHODMAP.2" LABEL="Deployment Method Map" |
||||
MIMETYPE="text/xml" SIZE="955"> |
||||
<foxml:xmlContent> |
||||
<fmm:MethodMap name="methodmap" xmlns:fmm="http://fedora.comm.nsdlib.org/service/methodmap"> |
||||
<fmm:Method operationName="getViewer" wsdlMsgName="getViewerRequestMsg" wsdlMsgOutput="getViewerResponseMsg"> |
||||
<fmm:DefaultInputParm defaultValue="$PID" label="fedora object pid" parmName="PID" passBy="VALUE" required="true"/> |
||||
<fmm:DefaultInputParm defaultValue="ilives:bookCModel" label="content model" parmName="CMODEL" |
||||
<foxml:xmlContent> |
||||
<fmm:MethodMap name="methodmap" xmlns:fmm="http://fedora.comm.nsdlib.org/service/methodmap"> |
||||
<fmm:Method operationName="getViewer" wsdlMsgName="getViewerRequestMsg" wsdlMsgOutput="getViewerResponseMsg"> |
||||
<fmm:DefaultInputParm defaultValue="$PID" label="fedora object pid" parmName="PID" passBy="VALUE" required="true"/> |
||||
<fmm:DefaultInputParm defaultValue="ilives:bookCModel" label="content model" parmName="CMODEL" |
||||
passBy="VALUE" required="true"/> |
||||
<fmm:DefaultInputParm defaultValue="JP2" label="content model" parmName="DSID" passBy="VALUE" required="true"/> |
||||
<fmm:UserInputParm defaultValue="" parmName="uid" passBy="VALUE" required="false"/> |
||||
<fmm:MethodReturnType wsdlMsgName="getViewerResponseMsg" wsdlMsgTOMIME="text/html"/> |
||||
</fmm:Method> |
||||
</fmm:MethodMap> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="WSDL" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2009-05-19T13:34:20.768Z" FORMAT_URI="http://schemas.xmlsoap.org/wsdl/" |
||||
<fmm:DefaultInputParm defaultValue="JP2" label="content model" parmName="DSID" passBy="VALUE" required="true"/> |
||||
<fmm:UserInputParm defaultValue="" parmName="uid" passBy="VALUE" required="false"/> |
||||
<fmm:MethodReturnType wsdlMsgName="getViewerResponseMsg" wsdlMsgTOMIME="text/html"/> |
||||
</fmm:Method> |
||||
</fmm:MethodMap> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="WSDL" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2009-05-19T13:34:20.768Z" FORMAT_URI="http://schemas.xmlsoap.org/wsdl/" |
||||
ID="WSDL.4" LABEL="WSDL Bindings" MIMETYPE="text/xml" SIZE="2073"> |
||||
<foxml:xmlContent> |
||||
<wsdl:definitions name="viewerSdep" targetNamespace="viewerSdep" |
||||
<foxml:xmlContent> |
||||
<wsdl:definitions name="viewerSdep" targetNamespace="viewerSdep" |
||||
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" |
||||
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap" |
||||
xmlns:soapenc="http://schemas.xmlsoap.org/wsdl/soap/encoding" xmlns:this="viewerSdep" |
||||
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> |
||||
<wsdl:message name="getViewerRequestMsg"> |
||||
<wsdl:part name="PID" type="xsd:string"/> |
||||
<wsdl:part name="CMODEL" type="xsd:string"/> |
||||
<wsdl:part name="DSID" type="xsd:string"/> |
||||
<wsdl:part name="uid" type="xsd:string"/> |
||||
</wsdl:message> |
||||
<wsdl:message name="getViewerResponseMsg"> |
||||
<wsdl:part name="RESPONSE" type="xsd:string"/> |
||||
</wsdl:message> |
||||
<wsdl:portType name="viewer_portType"> |
||||
<wsdl:operation name="getViewer"> |
||||
<wsdl:input message="this:getViewerRequestMsg"/> |
||||
<wsdl:output message="this:getViewerResponseMsg"/> |
||||
</wsdl:operation> |
||||
</wsdl:portType> |
||||
<wsdl:service name="viewer_service"> |
||||
<wsdl:port binding="this:viewer_binding" name="viewer_port"> |
||||
<http:address location="http://local.fedora.server/iiv/viewer.jsp"/> |
||||
</wsdl:port> |
||||
</wsdl:service> |
||||
<wsdl:binding name="viewer_binding" type="this:viewer_portType"> |
||||
<http:binding verb="GET"/> |
||||
<wsdl:operation name="getViewer"> |
||||
<http:operation location="?pid=(PID)&cmodel=(CMODEL)&dsid=(DSID)&uid=(uid)"/> |
||||
<wsdl:input> |
||||
<http:urlReplacement/> |
||||
</wsdl:input> |
||||
<wsdl:output> |
||||
<mime:content type="text/html"/> |
||||
</wsdl:output> |
||||
</wsdl:operation> |
||||
</wsdl:binding> |
||||
</wsdl:definitions> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="RELS-EXT" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2010-05-31T20:57:49.117Z" FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-1.0" |
||||
<wsdl:message name="getViewerRequestMsg"> |
||||
<wsdl:part name="PID" type="xsd:string"/> |
||||
<wsdl:part name="CMODEL" type="xsd:string"/> |
||||
<wsdl:part name="DSID" type="xsd:string"/> |
||||
<wsdl:part name="uid" type="xsd:string"/> |
||||
</wsdl:message> |
||||
<wsdl:message name="getViewerResponseMsg"> |
||||
<wsdl:part name="RESPONSE" type="xsd:string"/> |
||||
</wsdl:message> |
||||
<wsdl:portType name="viewer_portType"> |
||||
<wsdl:operation name="getViewer"> |
||||
<wsdl:input message="this:getViewerRequestMsg"/> |
||||
<wsdl:output message="this:getViewerResponseMsg"/> |
||||
</wsdl:operation> |
||||
</wsdl:portType> |
||||
<wsdl:service name="viewer_service"> |
||||
<wsdl:port binding="this:viewer_binding" name="viewer_port"> |
||||
<http:address location="http://local.fedora.server/iiv/viewer.jsp"/> |
||||
</wsdl:port> |
||||
</wsdl:service> |
||||
<wsdl:binding name="viewer_binding" type="this:viewer_portType"> |
||||
<http:binding verb="GET"/> |
||||
<wsdl:operation name="getViewer"> |
||||
<http:operation location="?pid=(PID)&cmodel=(CMODEL)&dsid=(DSID)&uid=(uid)"/> |
||||
<wsdl:input> |
||||
<http:urlReplacement/> |
||||
</wsdl:input> |
||||
<wsdl:output> |
||||
<mime:content type="text/html"/> |
||||
</wsdl:output> |
||||
</wsdl:operation> |
||||
</wsdl:binding> |
||||
</wsdl:definitions> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="RELS-EXT" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2010-05-31T20:57:49.117Z" FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-1.0" |
||||
ID="RELS-EXT.3" LABEL="RDF Statements about this object" MIMETYPE="application/rdf+xml" SIZE="562"> |
||||
<foxml:xmlContent> |
||||
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> |
||||
<rdf:Description rdf:about="info:fedora/ilives:viewerSdep-bookCModel"> |
||||
<hasModel rdf:resource="info:fedora/fedora-system:ServiceDeployment-3.0" xmlns="info:fedora/fedora-system:def/model#"/> |
||||
<isDeploymentOf rdf:resource="info:fedora/ilives:viewerSdef" xmlns="info:fedora/fedora-system:def/model#"/> |
||||
<isContractorOf rdf:resource="info:fedora/ilives:bookCModel" xmlns="info:fedora/fedora-system:def/model#"/> |
||||
</rdf:Description> |
||||
</rdf:RDF> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:xmlContent> |
||||
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> |
||||
<rdf:Description rdf:about="info:fedora/ilives:viewerSdep-bookCModel"> |
||||
<hasModel rdf:resource="info:fedora/fedora-system:ServiceDeployment-3.0" xmlns="info:fedora/fedora-system:def/model#"/> |
||||
<isDeploymentOf rdf:resource="info:fedora/ilives:viewerSdef" xmlns="info:fedora/fedora-system:def/model#"/> |
||||
<isContractorOf rdf:resource="info:fedora/ilives:bookCModel" xmlns="info:fedora/fedora-system:def/model#"/> |
||||
</rdf:Description> |
||||
</rdf:RDF> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
</foxml:digitalObject> |
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,247 +1,247 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<foxml:digitalObject PID="islandora:largeimages" VERSION="1.1" xmlns:foxml="info:fedora/fedora-system:def/foxml#" |
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="info:fedora/fedora-system:def/foxml# http://www.fedora.info/definitions/1/0/foxml1-1.xsd"> |
||||
<foxml:objectProperties> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#state" VALUE="Active"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#label" VALUE="Large Images Collection"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#ownerId" VALUE="fedoraAdmin"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#createdDate" VALUE="2010-12-20T16:02:16.800Z"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/view#lastModifiedDate" VALUE="2010-12-20T16:09:32.544Z"/> |
||||
</foxml:objectProperties> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="AUDIT" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2010-12-20T16:02:16.800Z" |
||||
<foxml:objectProperties> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#state" VALUE="Active"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#label" VALUE="Large Images Collection"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#ownerId" VALUE="fedoraAdmin"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/model#createdDate" VALUE="2010-12-20T16:02:16.800Z"/> |
||||
<foxml:property NAME="info:fedora/fedora-system:def/view#lastModifiedDate" VALUE="2010-12-20T16:09:32.544Z"/> |
||||
</foxml:objectProperties> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="AUDIT" STATE="A" VERSIONABLE="false"> |
||||
<foxml:datastreamVersion CREATED="2010-12-20T16:02:16.800Z" |
||||
FORMAT_URI="info:fedora/fedora-system:format/xml.fedora.audit" ID="AUDIT.0" LABEL="Audit Trail for this object" MIMETYPE="text/xml"> |
||||
<foxml:xmlContent> |
||||
<audit:auditTrail xmlns:audit="info:fedora/fedora-system:def/audit#"> |
||||
<audit:record ID="AUDREC1"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>ingest</audit:action> |
||||
<audit:componentID/> |
||||
<audit:responsibility>admin</audit:responsibility> |
||||
<audit:date>2010-12-20T16:02:16.800Z</audit:date> |
||||
<audit:justification>Fedora Object Ingested</audit:justification> |
||||
</audit:record> |
||||
<audit:record ID="AUDREC2"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>addDatastream</audit:action> |
||||
<audit:componentID>RELS-EXT</audit:componentID> |
||||
<audit:responsibility>admin</audit:responsibility> |
||||
<audit:date>2010-12-20T16:02:17.020Z</audit:date> |
||||
<audit:justification>Ingested object RELS-EXT</audit:justification> |
||||
</audit:record> |
||||
<audit:record ID="AUDREC3"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>modifyDatastreamByValue</audit:action> |
||||
<audit:componentID>RELS-EXT</audit:componentID> |
||||
<audit:responsibility>admin</audit:responsibility> |
||||
<audit:date>2010-12-20T16:02:17.091Z</audit:date> |
||||
<audit:justification>Modified by Islandora API</audit:justification> |
||||
</audit:record> |
||||
<audit:record ID="AUDREC4"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>modifyDatastreamByValue</audit:action> |
||||
<audit:componentID>RELS-EXT</audit:componentID> |
||||
<audit:responsibility>admin</audit:responsibility> |
||||
<audit:date>2010-12-20T16:02:17.142Z</audit:date> |
||||
<audit:justification>Modified by Islandora API</audit:justification> |
||||
</audit:record> |
||||
<audit:record ID="AUDREC5"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>addDatastream</audit:action> |
||||
<audit:componentID>COLLECTION_POLICY</audit:componentID> |
||||
<audit:responsibility>admin</audit:responsibility> |
||||
<audit:date>2010-12-20T16:02:17.213Z</audit:date> |
||||
<audit:justification>Ingested object COLLECTION_POLICY</audit:justification> |
||||
</audit:record> |
||||
<audit:record ID="AUDREC6"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>ingest</audit:action> |
||||
<audit:componentID/> |
||||
<audit:responsibility>admin</audit:responsibility> |
||||
<audit:date>2010-12-20T16:08:27.075Z</audit:date> |
||||
<audit:justification>Fedora Object Ingested</audit:justification> |
||||
</audit:record> |
||||
<audit:record ID="AUDREC7"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>addDatastream</audit:action> |
||||
<audit:componentID>TN</audit:componentID> |
||||
<audit:responsibility>admin</audit:responsibility> |
||||
<audit:date>2010-12-20T16:08:27.131Z</audit:date> |
||||
<audit:justification>Ingested object TN</audit:justification> |
||||
</audit:record> |
||||
<audit:record ID="AUDREC8"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>purgeDatastream</audit:action> |
||||
<audit:componentID>TN</audit:componentID> |
||||
<audit:responsibility>fedoraAdmin</audit:responsibility> |
||||
<audit:date>2010-12-20T16:09:24.726Z</audit:date> |
||||
<audit:justification>DatastreamPane generated this logMessage. . . . Purged datastream (ID=TN), versions ranging from 2010-12-20T12:08:27.131Z to 2010-12-20T12:08:27.131Z. This resulted in the permanent removal of 1 datastream version(s) (2010-12-20T12:08:27.131Z) and all associated audit records.</audit:justification> |
||||
</audit:record> |
||||
<audit:record ID="AUDREC9"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>modifyDatastreamByValue</audit:action> |
||||
<audit:componentID>COLLECTION_POLICY</audit:componentID> |
||||
<audit:responsibility>fedoraAdmin</audit:responsibility> |
||||
<audit:date>2010-12-20T16:09:32.544Z</audit:date> |
||||
<audit:justification/> |
||||
</audit:record> |
||||
</audit:auditTrail> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="DC" STATE="A" VERSIONABLE="true"> |
||||
<foxml:datastreamVersion CREATED="2010-12-20T16:02:16.800Z" FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/" |
||||
<foxml:xmlContent> |
||||
<audit:auditTrail xmlns:audit="info:fedora/fedora-system:def/audit#"> |
||||
<audit:record ID="AUDREC1"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>ingest</audit:action> |
||||
<audit:componentID/> |
||||
<audit:responsibility>admin</audit:responsibility> |
||||
<audit:date>2010-12-20T16:02:16.800Z</audit:date> |
||||
<audit:justification>Fedora Object Ingested</audit:justification> |
||||
</audit:record> |
||||
<audit:record ID="AUDREC2"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>addDatastream</audit:action> |
||||
<audit:componentID>RELS-EXT</audit:componentID> |
||||
<audit:responsibility>admin</audit:responsibility> |
||||
<audit:date>2010-12-20T16:02:17.020Z</audit:date> |
||||
<audit:justification>Ingested object RELS-EXT</audit:justification> |
||||
</audit:record> |
||||
<audit:record ID="AUDREC3"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>modifyDatastreamByValue</audit:action> |
||||
<audit:componentID>RELS-EXT</audit:componentID> |
||||
<audit:responsibility>admin</audit:responsibility> |
||||
<audit:date>2010-12-20T16:02:17.091Z</audit:date> |
||||
<audit:justification>Modified by Islandora API</audit:justification> |
||||
</audit:record> |
||||
<audit:record ID="AUDREC4"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>modifyDatastreamByValue</audit:action> |
||||
<audit:componentID>RELS-EXT</audit:componentID> |
||||
<audit:responsibility>admin</audit:responsibility> |
||||
<audit:date>2010-12-20T16:02:17.142Z</audit:date> |
||||
<audit:justification>Modified by Islandora API</audit:justification> |
||||
</audit:record> |
||||
<audit:record ID="AUDREC5"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>addDatastream</audit:action> |
||||
<audit:componentID>COLLECTION_POLICY</audit:componentID> |
||||
<audit:responsibility>admin</audit:responsibility> |
||||
<audit:date>2010-12-20T16:02:17.213Z</audit:date> |
||||
<audit:justification>Ingested object COLLECTION_POLICY</audit:justification> |
||||
</audit:record> |
||||
<audit:record ID="AUDREC6"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>ingest</audit:action> |
||||
<audit:componentID/> |
||||
<audit:responsibility>admin</audit:responsibility> |
||||
<audit:date>2010-12-20T16:08:27.075Z</audit:date> |
||||
<audit:justification>Fedora Object Ingested</audit:justification> |
||||
</audit:record> |
||||
<audit:record ID="AUDREC7"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>addDatastream</audit:action> |
||||
<audit:componentID>TN</audit:componentID> |
||||
<audit:responsibility>admin</audit:responsibility> |
||||
<audit:date>2010-12-20T16:08:27.131Z</audit:date> |
||||
<audit:justification>Ingested object TN</audit:justification> |
||||
</audit:record> |
||||
<audit:record ID="AUDREC8"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>purgeDatastream</audit:action> |
||||
<audit:componentID>TN</audit:componentID> |
||||
<audit:responsibility>fedoraAdmin</audit:responsibility> |
||||
<audit:date>2010-12-20T16:09:24.726Z</audit:date> |
||||
<audit:justification>DatastreamPane generated this logMessage. . . . Purged datastream (ID=TN), versions ranging from 2010-12-20T12:08:27.131Z to 2010-12-20T12:08:27.131Z. This resulted in the permanent removal of 1 datastream version(s) (2010-12-20T12:08:27.131Z) and all associated audit records.</audit:justification> |
||||
</audit:record> |
||||
<audit:record ID="AUDREC9"> |
||||
<audit:process type="Fedora API-M"/> |
||||
<audit:action>modifyDatastreamByValue</audit:action> |
||||
<audit:componentID>COLLECTION_POLICY</audit:componentID> |
||||
<audit:responsibility>fedoraAdmin</audit:responsibility> |
||||
<audit:date>2010-12-20T16:09:32.544Z</audit:date> |
||||
<audit:justification/> |
||||
</audit:record> |
||||
</audit:auditTrail> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="DC" STATE="A" VERSIONABLE="true"> |
||||
<foxml:datastreamVersion CREATED="2010-12-20T16:02:16.800Z" FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/" |
||||
ID="DC1.0" LABEL="Dublin Core Record for this object" MIMETYPE="text/xml" SIZE="397"> |
||||
<foxml:xmlContent> |
||||
<oai_dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/" |
||||
<foxml:xmlContent> |
||||
<oai_dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/" |
||||
xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" |
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd"> |
||||
<dc:title>Large Images Collection</dc:title> |
||||
<dc:identifier>islandora:largeimages</dc:identifier> |
||||
</oai_dc:dc> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="RELS-EXT" STATE="A" VERSIONABLE="true"> |
||||
<foxml:datastreamVersion CREATED="2010-12-20T16:02:17.020Z" ID="RELS-EXT.0" |
||||
<dc:title>Large Images Collection</dc:title> |
||||
<dc:identifier>islandora:largeimages</dc:identifier> |
||||
</oai_dc:dc> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="RELS-EXT" STATE="A" VERSIONABLE="true"> |
||||
<foxml:datastreamVersion CREATED="2010-12-20T16:02:17.020Z" ID="RELS-EXT.0" |
||||
LABEL="Fedora object-to-object relationship metadata" MIMETYPE="text/xml" SIZE="178"> |
||||
<foxml:xmlContent> |
||||
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> |
||||
<rdf:Description rdf:about="info:fedora/islandora:largeimages"/> |
||||
</rdf:RDF> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
<foxml:datastreamVersion CREATED="2010-12-20T16:02:17.091Z" ID="RELS-EXT.1" |
||||
<foxml:xmlContent> |
||||
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> |
||||
<rdf:Description rdf:about="info:fedora/islandora:largeimages"/> |
||||
</rdf:RDF> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
<foxml:datastreamVersion CREATED="2010-12-20T16:02:17.091Z" ID="RELS-EXT.1" |
||||
LABEL="Fedora Object-to-Object Relationship Metadata" MIMETYPE="text/xml" SIZE="361"> |
||||
<foxml:xmlContent> |
||||
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> |
||||
<rdf:Description rdf:about="info:fedora/islandora:largeimages"> |
||||
<fedora-model:hasModel rdf:resource="info:fedora/islandora:collectionCModel" xmlns:fedora-model="info:fedora/fedora-system:def/model#"/> |
||||
</rdf:Description> |
||||
</rdf:RDF> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
<foxml:datastreamVersion CREATED="2010-12-20T16:02:17.142Z" ID="RELS-EXT.2" |
||||
<foxml:xmlContent> |
||||
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> |
||||
<rdf:Description rdf:about="info:fedora/islandora:largeimages"> |
||||
<fedora-model:hasModel rdf:resource="info:fedora/islandora:collectionCModel" xmlns:fedora-model="info:fedora/fedora-system:def/model#"/> |
||||
</rdf:Description> |
||||
</rdf:RDF> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
<foxml:datastreamVersion CREATED="2010-12-20T16:02:17.142Z" ID="RELS-EXT.2" |
||||
LABEL="Fedora Object-to-Object Relationship Metadata" MIMETYPE="text/xml" SIZE="520"> |
||||
<foxml:xmlContent> |
||||
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> |
||||
<rdf:Description rdf:about="info:fedora/islandora:largeimages"> |
||||
<fedora-model:hasModel rdf:resource="info:fedora/islandora:collectionCModel" xmlns:fedora-model="info:fedora/fedora-system:def/model#"/> |
||||
<isMemberOfCollection rdf:resource="info:fedora/islandora:demos" xmlns="info:fedora/fedora-system:def/relations-external#"/> |
||||
</rdf:Description> |
||||
</rdf:RDF> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="COLLECTION_POLICY" STATE="A" VERSIONABLE="true"> |
||||
<foxml:datastreamVersion CREATED="2010-12-20T16:02:17.213Z" ID="COLLECTION_POLICY.0" LABEL="Large Images Collection" |
||||
<foxml:xmlContent> |
||||
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> |
||||
<rdf:Description rdf:about="info:fedora/islandora:largeimages"> |
||||
<fedora-model:hasModel rdf:resource="info:fedora/islandora:collectionCModel" xmlns:fedora-model="info:fedora/fedora-system:def/model#"/> |
||||
<isMemberOfCollection rdf:resource="info:fedora/islandora:demos" xmlns="info:fedora/fedora-system:def/relations-external#"/> |
||||
</rdf:Description> |
||||
</rdf:RDF> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<foxml:datastream CONTROL_GROUP="X" ID="COLLECTION_POLICY" STATE="A" VERSIONABLE="true"> |
||||
<foxml:datastreamVersion CREATED="2010-12-20T16:02:17.213Z" ID="COLLECTION_POLICY.0" LABEL="Large Images Collection" |
||||
MIMETYPE="text/xml" SIZE="2533"> |
||||
<foxml:xmlContent> |
||||
<collection_policy name="Large Images Collection"> |
||||
<contentmodels> |
||||
<contentmodel name="SLIDE_CMODEL"> |
||||
<pid_namespace>islandora:slide</pid_namespace> |
||||
<pid>islandora:slideCModel</pid> |
||||
<dsid>ISLANDORACM</dsid> |
||||
</contentmodel> |
||||
<contentmodel name="MAP_CMODEL"> |
||||
<pid_namespace>islandora:map</pid_namespace> |
||||
<pid>islandora:mapCModel</pid> |
||||
<dsid>ISLANDORACM</dsid> |
||||
</contentmodel> |
||||
<contentmodel name="HERB_CMODEL"> |
||||
<pid_namespace>islandora:herb</pid_namespace> |
||||
<pid>islandora:herbCModel</pid> |
||||
<dsid>ISLANDORACM</dsid> |
||||
</contentmodel> |
||||
</contentmodels> |
||||
<relationship>isMemberOfCollection</relationship> |
||||
<search_terms> |
||||
<default>dc.description</default> |
||||
<term> |
||||
<field>dc.title</field> |
||||
<value>dc.title</value> |
||||
</term> |
||||
<term> |
||||
<field>dc.creator</field> |
||||
<value>dc.creator</value> |
||||
</term> |
||||
<term> |
||||
<field>dc.description</field> |
||||
<value>dc.description</value> |
||||
</term> |
||||
<term> |
||||
<field>dc.date</field> |
||||
<value>dc.date</value> |
||||
</term> |
||||
<term> |
||||
<field>dc.identifier</field> |
||||
<value>dc.identifier</value> |
||||
</term> |
||||
<term> |
||||
<field>dc.language</field> |
||||
<value>dc.language</value> |
||||
</term> |
||||
<term> |
||||
<field>dc.publisher</field> |
||||
<value>dc.publisher</value> |
||||
</term> |
||||
<term> |
||||
<field>dc.rights</field> |
||||
<value>dc.rights</value> |
||||
</term> |
||||
<term> |
||||
<field>dc.subject</field> |
||||
<value>dc.subject</value> |
||||
</term> |
||||
<term> |
||||
<field>dc.relation</field> |
||||
<value>dc.relation</value> |
||||
</term> |
||||
<term> |
||||
<field>dcterms.temporal</field> |
||||
<value>dcterms.temporal</value> |
||||
</term> |
||||
<term> |
||||
<field>dcterms.spatial</field> |
||||
<value>dcterms.spatial</value> |
||||
</term> |
||||
<term> |
||||
<field>fgs.DS.first.text</field> |
||||
<value>Full Text</value> |
||||
</term> |
||||
</search_terms> |
||||
</collection_policy> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
<foxml:datastreamVersion CREATED="2010-12-20T16:09:32.544Z" ID="COLLECTION_POLICY.1" LABEL="Large Images Collection" |
||||
<foxml:xmlContent> |
||||
<collection_policy name="Large Images Collection"> |
||||
<contentmodels> |
||||
<contentmodel name="SLIDE_CMODEL"> |
||||
<pid_namespace>islandora:slide</pid_namespace> |
||||
<pid>islandora:slideCModel</pid> |
||||
<dsid>ISLANDORACM</dsid> |
||||
</contentmodel> |
||||
<contentmodel name="MAP_CMODEL"> |
||||
<pid_namespace>islandora:map</pid_namespace> |
||||
<pid>islandora:mapCModel</pid> |
||||
<dsid>ISLANDORACM</dsid> |
||||
</contentmodel> |
||||
<contentmodel name="HERB_CMODEL"> |
||||
<pid_namespace>islandora:herb</pid_namespace> |
||||
<pid>islandora:herbCModel</pid> |
||||
<dsid>ISLANDORACM</dsid> |
||||
</contentmodel> |
||||
</contentmodels> |
||||
<relationship>isMemberOfCollection</relationship> |
||||
<search_terms> |
||||
<default>dc.description</default> |
||||
<term> |
||||
<field>dc.title</field> |
||||
<value>dc.title</value> |
||||
</term> |
||||
<term> |
||||
<field>dc.creator</field> |
||||
<value>dc.creator</value> |
||||
</term> |
||||
<term> |
||||
<field>dc.description</field> |
||||
<value>dc.description</value> |
||||
</term> |
||||
<term> |
||||
<field>dc.date</field> |
||||
<value>dc.date</value> |
||||
</term> |
||||
<term> |
||||
<field>dc.identifier</field> |
||||
<value>dc.identifier</value> |
||||
</term> |
||||
<term> |
||||
<field>dc.language</field> |
||||
<value>dc.language</value> |
||||
</term> |
||||
<term> |
||||
<field>dc.publisher</field> |
||||
<value>dc.publisher</value> |
||||
</term> |
||||
<term> |
||||
<field>dc.rights</field> |
||||
<value>dc.rights</value> |
||||
</term> |
||||
<term> |
||||
<field>dc.subject</field> |
||||
<value>dc.subject</value> |
||||
</term> |
||||
<term> |
||||
<field>dc.relation</field> |
||||
<value>dc.relation</value> |
||||
</term> |
||||
<term> |
||||
<field>dcterms.temporal</field> |
||||
<value>dcterms.temporal</value> |
||||
</term> |
||||
<term> |
||||
<field>dcterms.spatial</field> |
||||
<value>dcterms.spatial</value> |
||||
</term> |
||||
<term> |
||||
<field>fgs.DS.first.text</field> |
||||
<value>Full Text</value> |
||||
</term> |
||||
</search_terms> |
||||
</collection_policy> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
<foxml:datastreamVersion CREATED="2010-12-20T16:09:32.544Z" ID="COLLECTION_POLICY.1" LABEL="Large Images Collection" |
||||
MIMETYPE="text/xml" SIZE="1428"> |
||||
<foxml:xmlContent> |
||||
<collection_policy name="Large Images Collection" xmlns="http://www.islandora.ca" |
||||
<foxml:xmlContent> |
||||
<collection_policy name="Large Images Collection" xmlns="http://www.islandora.ca" |
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.islandora.ca http://syn.lib.umanitoba.ca/collection_policy.xsd"> |
||||
<content_models> |
||||
<content_model dsid="ISLANDORACM" name="SLIDE_CMODEL" namespace="islandora:slide" pid="islandora:slideCModel"/> |
||||
<content_model dsid="ISLANDORACM" name="MAP_CMODEL" namespace="islandora:map" pid="islandora:mapCModel"/> |
||||
<content_model dsid="ISLANDORACM" name="HERB_CMODEL" namespace="islandora:herb" pid="islandora:herbCModel"/> |
||||
</content_models> |
||||
<search_terms> |
||||
<term field="dc.title">dc.title</term> |
||||
<term field="dc.creator">dc.creator</term> |
||||
<term default="true" field="dc.description">dc.description</term> |
||||
<term field="dc.date">dc.date</term> |
||||
<term field="dc.identifier">dc.identifier</term> |
||||
<term field="dc.language">dc.language</term> |
||||
<term field="dc.publisher">dc.publisher</term> |
||||
<term field="dc.rights">dc.rights</term> |
||||
<term field="dc.subject">dc.subject</term> |
||||
<term field="dc.relation">dc.relation</term> |
||||
<term field="dcterms.temporal">dcterms.temporal</term> |
||||
<term field="dcterms.spatial">dcterms.spatial</term> |
||||
<term field="fgs.DS.first.text">Full Text</term> |
||||
</search_terms> |
||||
<relationship>isMemberOfCollection</relationship> |
||||
</collection_policy> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
<content_models> |
||||
<content_model dsid="ISLANDORACM" name="SLIDE_CMODEL" namespace="islandora:slide" pid="islandora:slideCModel"/> |
||||
<content_model dsid="ISLANDORACM" name="MAP_CMODEL" namespace="islandora:map" pid="islandora:mapCModel"/> |
||||
<content_model dsid="ISLANDORACM" name="HERB_CMODEL" namespace="islandora:herb" pid="islandora:herbCModel"/> |
||||
</content_models> |
||||
<search_terms> |
||||
<term field="dc.title">dc.title</term> |
||||
<term field="dc.creator">dc.creator</term> |
||||
<term default="true" field="dc.description">dc.description</term> |
||||
<term field="dc.date">dc.date</term> |
||||
<term field="dc.identifier">dc.identifier</term> |
||||
<term field="dc.language">dc.language</term> |
||||
<term field="dc.publisher">dc.publisher</term> |
||||
<term field="dc.rights">dc.rights</term> |
||||
<term field="dc.subject">dc.subject</term> |
||||
<term field="dc.relation">dc.relation</term> |
||||
<term field="dcterms.temporal">dcterms.temporal</term> |
||||
<term field="dcterms.spatial">dcterms.spatial</term> |
||||
<term field="fgs.DS.first.text">Full Text</term> |
||||
</search_terms> |
||||
<relationship>isMemberOfCollection</relationship> |
||||
</collection_policy> |
||||
</foxml:xmlContent> |
||||
</foxml:datastreamVersion> |
||||
</foxml:datastream> |
||||
</foxml:digitalObject> |
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,196 +1,270 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> |
||||
<!-- Red and White XSLT --> |
||||
<xsl:variable name="BASEURL"> |
||||
<xsl:value-of select="$baseUrl"/> |
||||
</xsl:variable> |
||||
<xsl:variable name="PATH"> |
||||
<xsl:value-of select="$path"/> |
||||
</xsl:variable> |
||||
<xsl:variable name="thisPid" select="$collectionPid"/> |
||||
<xsl:variable name="thisTitle" select="$collectionTitle"/> |
||||
<xsl:variable name="size" select="20"/> |
||||
<xsl:variable name="page" select="$hitPage"/> |
||||
<xsl:variable name="start" select="((number($page) - 1) * number($size)) + 1"/> |
||||
<xsl:variable name="end" select="($start - 1) + number($size)"/> |
||||
<xsl:variable name="cellsPerRow" select="4"/> |
||||
<xsl:variable name="count" select="count(sparql/results/result)"/> |
||||
<xsl:template match="/"> |
||||
<xsl:if test="$count>0"> |
||||
<table cellpadding="3" cellspacing="3"> |
||||
<tr><td colspan="{$cellsPerRow}"> |
||||
<div align="center"> |
||||
<xsl:choose> |
||||
<xsl:when test="$end >= $count and $start = 1"> |
||||
<xsl:value-of select="$start"/>-<xsl:value-of select="$count"/> |
||||
of <xsl:value-of select="$count"/> <br /> |
||||
</xsl:when> |
||||
<xsl:when test="$end >= $count"> |
||||
<xsl:value-of select="$start"/>-<xsl:value-of select="$count"/> |
||||
of <xsl:value-of select="$count"/> <br /> |
||||
<a> |
||||
<xsl:attribute name="href"><xsl:value-of select="$BASEURL"/>/fedora/repository/<xsl:value-of select="$thisPid"/>/-/<xsl:value-of select="$thisTitle"/>/<xsl:value-of select="$page - 1"/> |
||||
</xsl:attribute> |
||||
<xsl:variable name="BASEURL"> |
||||
<xsl:value-of select="$baseUrl"/> |
||||
</xsl:variable> |
||||
<xsl:variable name="PATH"> |
||||
<xsl:value-of select="$path"/> |
||||
</xsl:variable> |
||||
<xsl:variable name="thisPid" select="$collectionPid"/> |
||||
<xsl:variable name="thisTitle" select="$collectionTitle"/> |
||||
<xsl:variable name="size" select="20"/> |
||||
<xsl:variable name="page" select="$hitPage"/> |
||||
<xsl:variable name="start" select="((number($page) - 1) * number($size)) + 1"/> |
||||
<xsl:variable name="end" select="($start - 1) + number($size)"/> |
||||
<xsl:variable name="cellsPerRow" select="4"/> |
||||
<xsl:variable name="count" select="count(sparql/results/result)"/> |
||||
<xsl:template match="/"> |
||||
<xsl:if test="$count>0"> |
||||
<table cellpadding="3" cellspacing="3"> |
||||
<tr> |
||||
<td colspan="{$cellsPerRow}"> |
||||
<div align="center"> |
||||
<xsl:choose> |
||||
<xsl:when test="$end >= $count and $start = 1"> |
||||
<xsl:value-of select="$start"/>- |
||||
<xsl:value-of select="$count"/> |
||||
of |
||||
<xsl:value-of select="$count"/>  |
||||
<br /> |
||||
</xsl:when> |
||||
<xsl:when test="$end >= $count"> |
||||
<xsl:value-of select="$start"/>- |
||||
<xsl:value-of select="$count"/> |
||||
of |
||||
<xsl:value-of select="$count"/>  |
||||
<br /> |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:value-of select="$thisPid"/>/-/ |
||||
<xsl:value-of select="$thisTitle"/>/ |
||||
<xsl:value-of select="$page - 1"/> |
||||
</xsl:attribute> |
||||
<<Prev |
||||
</a> |
||||
</xsl:when> |
||||
<xsl:when test="$start = 1"> |
||||
<xsl:value-of select="$start"/>-<xsl:value-of select="$end"/> |
||||
of <xsl:value-of select="$count"/> <br /> |
||||
<a> |
||||
<xsl:attribute name="href"><xsl:value-of select="$BASEURL"/>/fedora/repository/<xsl:value-of select="$thisPid"/>/-/<xsl:value-of select="$thisTitle"/>/<xsl:value-of select="$page + 1"/> |
||||
</xsl:attribute> |
||||
</a> |
||||
</xsl:when> |
||||
<xsl:when test="$start = 1"> |
||||
<xsl:value-of select="$start"/>- |
||||
<xsl:value-of select="$end"/> |
||||
of |
||||
<xsl:value-of select="$count"/>  |
||||
<br /> |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:value-of select="$thisPid"/>/-/ |
||||
<xsl:value-of select="$thisTitle"/>/ |
||||
<xsl:value-of select="$page + 1"/> |
||||
</xsl:attribute> |
||||
Next>> |
||||
</a> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:value-of select="$start"/>-<xsl:value-of select="$end"/> |
||||
of <xsl:value-of select="$count"/> <br /> |
||||
<a> |
||||
<xsl:attribute name="href"><xsl:value-of select="$BASEURL"/>/fedora/repository/<xsl:value-of select="$thisPid"/>/-/<xsl:value-of select="$thisTitle"/>/<xsl:value-of select="$page - 1"/> |
||||
</xsl:attribute> |
||||
</a> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:value-of select="$start"/>- |
||||
<xsl:value-of select="$end"/> |
||||
of |
||||
<xsl:value-of select="$count"/>  |
||||
<br /> |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:value-of select="$thisPid"/>/-/ |
||||
<xsl:value-of select="$thisTitle"/>/ |
||||
<xsl:value-of select="$page - 1"/> |
||||
</xsl:attribute> |
||||
<<Prev |
||||
</a>  |
||||
<a> |
||||
<xsl:attribute name="href"><xsl:value-of select="$BASEURL"/>/fedora/repository/<xsl:value-of select="$thisPid"/>/-/<xsl:value-of select="$thisTitle"/>/<xsl:value-of select="$page + 1"/> |
||||
</xsl:attribute> |
||||
</a>  |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:value-of select="$thisPid"/>/-/ |
||||
<xsl:value-of select="$thisTitle"/>/ |
||||
<xsl:value-of select="$page + 1"/> |
||||
</xsl:attribute> |
||||
Next>> |
||||
</a> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</div> <br clear="all" /> |
||||
</td></tr> |
||||
<xsl:apply-templates select="sparql/results"/> |
||||
</table><br clear="all" /> |
||||
<div align="center"> |
||||
<xsl:choose> |
||||
<xsl:when test="$end >= $count and $start = 1"> |
||||
<xsl:value-of select="$start"/>-<xsl:value-of select="$count"/> |
||||
of <xsl:value-of select="$count"/> <br /> |
||||
</xsl:when> |
||||
<xsl:when test="$end >= $count"> |
||||
<xsl:value-of select="$start"/>-<xsl:value-of select="$count"/> |
||||
of <xsl:value-of select="$count"/> <br /> |
||||
<a> |
||||
<xsl:attribute name="href"><xsl:value-of select="$BASEURL"/>/fedora/repository/<xsl:value-of select="$thisPid"/>/-/<xsl:value-of select="$thisTitle"/>/<xsl:value-of select="$page - 1"/> |
||||
</xsl:attribute> |
||||
</a> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</div> |
||||
<br clear="all" /> |
||||
</td> |
||||
</tr> |
||||
<xsl:apply-templates select="sparql/results"/> |
||||
</table> |
||||
<br clear="all" /> |
||||
<div align="center"> |
||||
<xsl:choose> |
||||
<xsl:when test="$end >= $count and $start = 1"> |
||||
<xsl:value-of select="$start"/>- |
||||
<xsl:value-of select="$count"/> |
||||
of |
||||
<xsl:value-of select="$count"/>  |
||||
<br /> |
||||
</xsl:when> |
||||
<xsl:when test="$end >= $count"> |
||||
<xsl:value-of select="$start"/>- |
||||
<xsl:value-of select="$count"/> |
||||
of |
||||
<xsl:value-of select="$count"/>  |
||||
<br /> |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:value-of select="$thisPid"/>/-/ |
||||
<xsl:value-of select="$thisTitle"/>/ |
||||
<xsl:value-of select="$page - 1"/> |
||||
</xsl:attribute> |
||||
<<Prev |
||||
</a> |
||||
</xsl:when> |
||||
<xsl:when test="$start = 1"> |
||||
<xsl:value-of select="$start"/>-<xsl:value-of select="$end"/> |
||||
of <xsl:value-of select="$count"/> <br /> |
||||
<a> |
||||
<xsl:attribute name="href"><xsl:value-of select="$BASEURL"/>/fedora/repository/<xsl:value-of select="$thisPid"/>/-/<xsl:value-of select="$thisTitle"/>/<xsl:value-of select="$page + 1"/> |
||||
</xsl:attribute> |
||||
</a> |
||||
</xsl:when> |
||||
<xsl:when test="$start = 1"> |
||||
<xsl:value-of select="$start"/>- |
||||
<xsl:value-of select="$end"/> |
||||
of |
||||
<xsl:value-of select="$count"/>  |
||||
<br /> |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:value-of select="$thisPid"/>/-/ |
||||
<xsl:value-of select="$thisTitle"/>/ |
||||
<xsl:value-of select="$page + 1"/> |
||||
</xsl:attribute> |
||||
Next>> |
||||
</a> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:value-of select="$start"/>-<xsl:value-of select="$end"/> |
||||
of <xsl:value-of select="$count"/> <br /> |
||||
<a> |
||||
<xsl:attribute name="href"><xsl:value-of select="$BASEURL"/>/fedora/repository/<xsl:value-of select="$thisPid"/>/-/<xsl:value-of select="$thisTitle"/>/<xsl:value-of select="$page - 1"/> |
||||
</xsl:attribute> |
||||
</a> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:value-of select="$start"/>- |
||||
<xsl:value-of select="$end"/> |
||||
of |
||||
<xsl:value-of select="$count"/>  |
||||
<br /> |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:value-of select="$thisPid"/>/-/ |
||||
<xsl:value-of select="$thisTitle"/>/ |
||||
<xsl:value-of select="$page - 1"/> |
||||
</xsl:attribute> |
||||
<<Prev |
||||
</a>  |
||||
<a> |
||||
<xsl:attribute name="href"><xsl:value-of select="$BASEURL"/>/fedora/repository/<xsl:value-of select="$thisPid"/>/-/<xsl:value-of select="$thisTitle"/>/<xsl:value-of select="$page + 1"/> |
||||
</xsl:attribute> |
||||
</a>  |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:value-of select="$thisPid"/>/-/ |
||||
<xsl:value-of select="$thisTitle"/>/ |
||||
<xsl:value-of select="$page + 1"/> |
||||
</xsl:attribute> |
||||
Next>> |
||||
</a> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</div> |
||||
</xsl:if> |
||||
</xsl:template> |
||||
<xsl:template match="sparql/results"> |
||||
<xsl:for-each select="result[position() mod $cellsPerRow = 1 and position()>=$start and position() <=$end]"> |
||||
<tr> |
||||
<xsl:apply-templates select=". | following-sibling::result[position() < $cellsPerRow]"/> |
||||
</tr> |
||||
</xsl:for-each> |
||||
</xsl:template> |
||||
<xsl:template match="result"> |
||||
<xsl:variable name='OBJECTURI' select="object/@uri"/> |
||||
<xsl:variable name='PID' select="substring-after($OBJECTURI,'/')"/> |
||||
<xsl:variable name="newTitle" > |
||||
<xsl:call-template name="replace-string"> |
||||
<xsl:with-param name="text" select="title"/> |
||||
<xsl:with-param name="from" select="'_'"/> |
||||
<xsl:with-param name="to" select="' '"/> |
||||
</xsl:call-template> |
||||
</xsl:variable> |
||||
<xsl:variable name="linkUrl"> |
||||
<xsl:choose> |
||||
<xsl:when test="(content='Collection' or content='Community')"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/<xsl:copy-of select="$PID"/>/-/<xsl:value-of select="title"/> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/<xsl:copy-of select="$PID"/>/<xsl:value-of select="title"/>/<xsl:value-of select="title"/> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</xsl:variable> |
||||
<td valign="top" width="25%"> |
||||
<a> |
||||
<xsl:attribute name="href"><xsl:value-of select="$linkUrl"/> |
||||
</xsl:attribute> |
||||
<img> |
||||
<xsl:attribute name="src"><xsl:value-of select="$BASEURL"/>/fedora/repository/<xsl:value-of select="$PID"/>/TN |
||||
</xsl:attribute> |
||||
</img> </a> <br clear="all" /> |
||||
<a> |
||||
<xsl:attribute name="href"><xsl:value-of select="$linkUrl"/> |
||||
</xsl:attribute> |
||||
<xsl:value-of select="$newTitle"/> |
||||
</a> |
||||
<xsl:if test="(content!='Collection' and content!='Community')"> |
||||
<br />--<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/<xsl:copy-of select="$PID"/>/-/<xsl:value-of select="title"/> |
||||
</xsl:attribute> |
||||
</a> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</div> |
||||
</xsl:if> |
||||
</xsl:template> |
||||
<xsl:template match="sparql/results"> |
||||
<xsl:for-each select="result[position() mod $cellsPerRow = 1 and position()>=$start and position() <=$end]"> |
||||
<tr> |
||||
<xsl:apply-templates select=". | following-sibling::result[position() < $cellsPerRow]"/> |
||||
</tr> |
||||
</xsl:for-each> |
||||
</xsl:template> |
||||
<xsl:template match="result"> |
||||
<xsl:variable name='OBJECTURI' select="object/@uri"/> |
||||
<xsl:variable name='PID' select="substring-after($OBJECTURI,'/')"/> |
||||
<xsl:variable name="newTitle" > |
||||
<xsl:call-template name="replace-string"> |
||||
<xsl:with-param name="text" select="title"/> |
||||
<xsl:with-param name="from" select="'_'"/> |
||||
<xsl:with-param name="to" select="' '"/> |
||||
</xsl:call-template> |
||||
</xsl:variable> |
||||
<xsl:variable name="linkUrl"> |
||||
<xsl:choose> |
||||
<xsl:when test="(content='Collection' or content='Community')"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:copy-of select="$PID"/>/-/ |
||||
<xsl:value-of select="title"/> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:copy-of select="$PID"/>/ |
||||
<xsl:value-of select="title"/>/ |
||||
<xsl:value-of select="title"/> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</xsl:variable> |
||||
<td valign="top" width="25%"> |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$linkUrl"/> |
||||
</xsl:attribute> |
||||
<img> |
||||
<xsl:attribute name="src"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:value-of select="$PID"/>/TN |
||||
</xsl:attribute> |
||||
</img> |
||||
</a> |
||||
<br clear="all" /> |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$linkUrl"/> |
||||
</xsl:attribute> |
||||
<xsl:value-of select="$newTitle"/> |
||||
</a> |
||||
<xsl:if test="(content!='Collection' and content!='Community')"> |
||||
<br />-- |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:copy-of select="$PID"/>/-/ |
||||
<xsl:value-of select="title"/> |
||||
</xsl:attribute> |
||||
DETAILS |
||||
</a>-- |
||||
</xsl:if> |
||||
</td> |
||||
<xsl:if test="(position() = last()) and (position() < $cellsPerRow)"> |
||||
<xsl:call-template name="FillerCells"> |
||||
<xsl:with-param name="cellCount" select="$cellsPerRow - position()"/> |
||||
</xsl:call-template> |
||||
</xsl:if> |
||||
</xsl:template> |
||||
<xsl:template name="FillerCells"> |
||||
<xsl:param name="cellCount"/> |
||||
<td> </td> |
||||
<xsl:if test="$cellCount > 1"> |
||||
<xsl:call-template name="FillerCells"> |
||||
<xsl:with-param name="cellCount" select="$cellCount - 1"/> |
||||
</xsl:call-template> |
||||
</xsl:if> |
||||
</xsl:template> |
||||
<xsl:template name="replace-string"> |
||||
<xsl:param name="text"/> |
||||
<xsl:param name="from"/> |
||||
<xsl:param name="to"/> |
||||
</a>-- |
||||
</xsl:if> |
||||
</td> |
||||
<xsl:if test="(position() = last()) and (position() < $cellsPerRow)"> |
||||
<xsl:call-template name="FillerCells"> |
||||
<xsl:with-param name="cellCount" select="$cellsPerRow - position()"/> |
||||
</xsl:call-template> |
||||
</xsl:if> |
||||
</xsl:template> |
||||
<xsl:template name="FillerCells"> |
||||
<xsl:param name="cellCount"/> |
||||
<td> </td> |
||||
<xsl:if test="$cellCount > 1"> |
||||
<xsl:call-template name="FillerCells"> |
||||
<xsl:with-param name="cellCount" select="$cellCount - 1"/> |
||||
</xsl:call-template> |
||||
</xsl:if> |
||||
</xsl:template> |
||||
<xsl:template name="replace-string"> |
||||
<xsl:param name="text"/> |
||||
<xsl:param name="from"/> |
||||
<xsl:param name="to"/> |
||||
|
||||
<xsl:choose> |
||||
<xsl:when test="contains($text, $from)"> |
||||
<xsl:choose> |
||||
<xsl:when test="contains($text, $from)"> |
||||
|
||||
<xsl:variable name="before" select="substring-before($text, $from)"/> |
||||
<xsl:variable name="after" select="substring-after($text, $from)"/> |
||||
<xsl:variable name="prefix" select="concat($before, $to)"/> |
||||
<xsl:variable name="before" select="substring-before($text, $from)"/> |
||||
<xsl:variable name="after" select="substring-after($text, $from)"/> |
||||
<xsl:variable name="prefix" select="concat($before, $to)"/> |
||||
|
||||
<xsl:value-of select="$before"/> |
||||
<xsl:value-of select="$to"/> |
||||
<xsl:call-template name="replace-string"> |
||||
<xsl:with-param name="text" select="$after"/> |
||||
<xsl:with-param name="from" select="$from"/> |
||||
<xsl:with-param name="to" select="$to"/> |
||||
</xsl:call-template> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:value-of select="$text"/> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</xsl:template> |
||||
<xsl:value-of select="$before"/> |
||||
<xsl:value-of select="$to"/> |
||||
<xsl:call-template name="replace-string"> |
||||
<xsl:with-param name="text" select="$after"/> |
||||
<xsl:with-param name="from" select="$from"/> |
||||
<xsl:with-param name="to" select="$to"/> |
||||
</xsl:call-template> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:value-of select="$text"/> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</xsl:template> |
||||
</xsl:stylesheet> |
@ -1,33 +1,96 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:critters="http://vre.upei.ca/critters/"> |
||||
<xsl:output method="xml" omit-xml-declaration="yes"/> |
||||
<xsl:output method="xml" omit-xml-declaration="yes"/> |
||||
<!-- CRITTER XSLT --> |
||||
<xsl:template match="/"> |
||||
<xsl:template match="/"> |
||||
|
||||
<ul> |
||||
<li><b>Date Collected:</b><xsl:text> </xsl:text> <xsl:value-of select="/critters:sample/critters:date_collected"/></li> |
||||
<li><b>Type:</b> <xsl:text> </xsl:text><xsl:value-of select="/critters:sample/critters:type"/></li> |
||||
<li><b>Phylum:</b> <xsl:text> </xsl:text><xsl:value-of select="/critters:sample/critters:taxonomy/critters:phylum"/></li> |
||||
<li><b>SubPhylum:</b> <xsl:text> </xsl:text><xsl:value-of select="/critters:sample/critters:taxonomy/critters:SubPhylum"/></li> |
||||
<li><b>Class:</b> <xsl:text> </xsl:text><xsl:value-of select="/critters:sample/critters:taxonomy/critters:class"/></li> |
||||
<li><b>Order:</b> <xsl:text> </xsl:text><xsl:value-of select="/critters:sample/critters:taxonomy/critters:order"/></li> |
||||
<li><b>Family:</b> <xsl:text> </xsl:text><xsl:value-of select="/critters:sample/critters:taxonomy/critters:family"/></li> |
||||
<li><b>Genus:</b> <xsl:text> </xsl:text><xsl:value-of select="/critters:sample/critters:taxonomy/critters:genus"/></li> |
||||
<li><b>Species:</b> <xsl:text> </xsl:text><xsl:value-of select="/critters:sample/critters:taxonomy/critters:species"/></li> |
||||
<ul> |
||||
<li> |
||||
<b>Date Collected:</b> |
||||
<xsl:text> </xsl:text> |
||||
<xsl:value-of select="/critters:sample/critters:date_collected"/> |
||||
</li> |
||||
<li> |
||||
<b>Type:</b> |
||||
<xsl:text> </xsl:text> |
||||
<xsl:value-of select="/critters:sample/critters:type"/> |
||||
</li> |
||||
<li> |
||||
<b>Phylum:</b> |
||||
<xsl:text> </xsl:text> |
||||
<xsl:value-of select="/critters:sample/critters:taxonomy/critters:phylum"/> |
||||
</li> |
||||
<li> |
||||
<b>SubPhylum:</b> |
||||
<xsl:text> </xsl:text> |
||||
<xsl:value-of select="/critters:sample/critters:taxonomy/critters:SubPhylum"/> |
||||
</li> |
||||
<li> |
||||
<b>Class:</b> |
||||
<xsl:text> </xsl:text> |
||||
<xsl:value-of select="/critters:sample/critters:taxonomy/critters:class"/> |
||||
</li> |
||||
<li> |
||||
<b>Order:</b> |
||||
<xsl:text> </xsl:text> |
||||
<xsl:value-of select="/critters:sample/critters:taxonomy/critters:order"/> |
||||
</li> |
||||
<li> |
||||
<b>Family:</b> |
||||
<xsl:text> </xsl:text> |
||||
<xsl:value-of select="/critters:sample/critters:taxonomy/critters:family"/> |
||||
</li> |
||||
<li> |
||||
<b>Genus:</b> |
||||
<xsl:text> </xsl:text> |
||||
<xsl:value-of select="/critters:sample/critters:taxonomy/critters:genus"/> |
||||
</li> |
||||
<li> |
||||
<b>Species:</b> |
||||
<xsl:text> </xsl:text> |
||||
<xsl:value-of select="/critters:sample/critters:taxonomy/critters:species"/> |
||||
</li> |
||||
|
||||
</ul> |
||||
</ul> |
||||
|
||||
<h4>Collection Location</h4> |
||||
<ul> |
||||
<li><b>Site Name:</b> <xsl:text> </xsl:text><xsl:value-of select="/critters:sample/critters:site/critters:sitename"/></li> |
||||
<li><b>Country:</b> <xsl:text> </xsl:text><xsl:value-of select="/critters:sample/critters:site/critters:country"/></li> |
||||
<li><b>Region:</b> <xsl:text> </xsl:text><xsl:value-of select="/critters:sample/critters:site/critters:region"/></li> |
||||
<li><b>Latitude:</b> <xsl:text> </xsl:text><xsl:value-of select="/critters:sample/critters:site/critters:latitude"/></li> |
||||
<li><b>Longitude:</b> <xsl:text> </xsl:text><xsl:value-of select="/critters:sample/critters:site/critters:longitude"/></li> |
||||
<li><b>Depth:</b> <xsl:text> </xsl:text><xsl:value-of select="/critters:sample/critters:site/critters:depth"/><xsl:text> </xsl:text>Feet</li> |
||||
</ul> |
||||
<h4>Description</h4> |
||||
<div><xsl:value-of select="/critters:sample/critters:description"/></div> |
||||
<h4>Collection Location</h4> |
||||
<ul> |
||||
<li> |
||||
<b>Site Name:</b> |
||||
<xsl:text> </xsl:text> |
||||
<xsl:value-of select="/critters:sample/critters:site/critters:sitename"/> |
||||
</li> |
||||
<li> |
||||
<b>Country:</b> |
||||
<xsl:text> </xsl:text> |
||||
<xsl:value-of select="/critters:sample/critters:site/critters:country"/> |
||||
</li> |
||||
<li> |
||||
<b>Region:</b> |
||||
<xsl:text> </xsl:text> |
||||
<xsl:value-of select="/critters:sample/critters:site/critters:region"/> |
||||
</li> |
||||
<li> |
||||
<b>Latitude:</b> |
||||
<xsl:text> </xsl:text> |
||||
<xsl:value-of select="/critters:sample/critters:site/critters:latitude"/> |
||||
</li> |
||||
<li> |
||||
<b>Longitude:</b> |
||||
<xsl:text> </xsl:text> |
||||
<xsl:value-of select="/critters:sample/critters:site/critters:longitude"/> |
||||
</li> |
||||
<li> |
||||
<b>Depth:</b> |
||||
<xsl:text> </xsl:text> |
||||
<xsl:value-of select="/critters:sample/critters:site/critters:depth"/> |
||||
<xsl:text> </xsl:text>Feet |
||||
</li> |
||||
</ul> |
||||
<h4>Description</h4> |
||||
<div> |
||||
<xsl:value-of select="/critters:sample/critters:description"/> |
||||
</div> |
||||
|
||||
</xsl:template> |
||||
</xsl:template> |
||||
</xsl:stylesheet> |
@ -1,193 +1,264 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> |
||||
<!-- Red and White XSLT --> |
||||
<xsl:variable name="BASEURL"> |
||||
<xsl:value-of select="$baseUrl"/> |
||||
</xsl:variable> |
||||
<xsl:variable name="PATH"> |
||||
<xsl:value-of select="$path"/> |
||||
</xsl:variable> |
||||
<xsl:variable name="thisPid" select="$collectionPid"/> |
||||
<xsl:variable name="thisTitle" select="$collectionTitle"/> |
||||
<xsl:variable name="size" select="20"/> |
||||
<xsl:variable name="page" select="$hitPage"/> |
||||
<xsl:variable name="start" select="((number($page) - 1) * number($size)) + 1"/> |
||||
<xsl:variable name="end" select="($start - 1) + number($size)"/> |
||||
<xsl:variable name="cellsPerRow" select="4"/> |
||||
<xsl:variable name="count" select="count(sparql/results/result)"/> |
||||
<xsl:template match="/"> |
||||
<xsl:if test="$count>0"> |
||||
<table cellpadding="3" cellspacing="3"> |
||||
<tr><td colspan="{$cellsPerRow}"> |
||||
<div align="center"> |
||||
<xsl:choose> |
||||
<xsl:when test="$end >= $count and $start = 1"> |
||||
<xsl:value-of select="$start"/>-<xsl:value-of select="$count"/> |
||||
of <xsl:value-of select="$count"/> <br /> |
||||
</xsl:when> |
||||
<xsl:when test="$end >= $count"> |
||||
<xsl:value-of select="$start"/>-<xsl:value-of select="$count"/> |
||||
of <xsl:value-of select="$count"/> <br /> |
||||
<a> |
||||
<xsl:attribute name="href"><xsl:value-of select="$BASEURL"/>/fedora/repository/<xsl:value-of select="$thisPid"/>/-/<xsl:value-of select="$thisTitle"/>/<xsl:value-of select="$page - 1"/> |
||||
</xsl:attribute> |
||||
<xsl:variable name="BASEURL"> |
||||
<xsl:value-of select="$baseUrl"/> |
||||
</xsl:variable> |
||||
<xsl:variable name="PATH"> |
||||
<xsl:value-of select="$path"/> |
||||
</xsl:variable> |
||||
<xsl:variable name="thisPid" select="$collectionPid"/> |
||||
<xsl:variable name="thisTitle" select="$collectionTitle"/> |
||||
<xsl:variable name="size" select="20"/> |
||||
<xsl:variable name="page" select="$hitPage"/> |
||||
<xsl:variable name="start" select="((number($page) - 1) * number($size)) + 1"/> |
||||
<xsl:variable name="end" select="($start - 1) + number($size)"/> |
||||
<xsl:variable name="cellsPerRow" select="4"/> |
||||
<xsl:variable name="count" select="count(sparql/results/result)"/> |
||||
<xsl:template match="/"> |
||||
<xsl:if test="$count>0"> |
||||
<table cellpadding="3" cellspacing="3"> |
||||
<tr> |
||||
<td colspan="{$cellsPerRow}"> |
||||
<div align="center"> |
||||
<xsl:choose> |
||||
<xsl:when test="$end >= $count and $start = 1"> |
||||
<xsl:value-of select="$start"/>- |
||||
<xsl:value-of select="$count"/> |
||||
of |
||||
<xsl:value-of select="$count"/>  |
||||
<br /> |
||||
</xsl:when> |
||||
<xsl:when test="$end >= $count"> |
||||
<xsl:value-of select="$start"/>- |
||||
<xsl:value-of select="$count"/> |
||||
of |
||||
<xsl:value-of select="$count"/>  |
||||
<br /> |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:value-of select="$thisPid"/>/-/ |
||||
<xsl:value-of select="$thisTitle"/>/ |
||||
<xsl:value-of select="$page - 1"/> |
||||
</xsl:attribute> |
||||
<<Prev |
||||
</a> |
||||
</xsl:when> |
||||
<xsl:when test="$start = 1"> |
||||
<xsl:value-of select="$start"/>-<xsl:value-of select="$end"/> |
||||
of <xsl:value-of select="$count"/> <br /> |
||||
<a> |
||||
<xsl:attribute name="href"><xsl:value-of select="$BASEURL"/>/fedora/repository/<xsl:value-of select="$thisPid"/>/-/<xsl:value-of select="$thisTitle"/>/<xsl:value-of select="$page + 1"/> |
||||
</xsl:attribute> |
||||
</a> |
||||
</xsl:when> |
||||
<xsl:when test="$start = 1"> |
||||
<xsl:value-of select="$start"/>- |
||||
<xsl:value-of select="$end"/> |
||||
of |
||||
<xsl:value-of select="$count"/>  |
||||
<br /> |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:value-of select="$thisPid"/>/-/ |
||||
<xsl:value-of select="$thisTitle"/>/ |
||||
<xsl:value-of select="$page + 1"/> |
||||
</xsl:attribute> |
||||
Next>> |
||||
</a> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:value-of select="$start"/>-<xsl:value-of select="$end"/> |
||||
of <xsl:value-of select="$count"/> <br /> |
||||
<a> |
||||
<xsl:attribute name="href"><xsl:value-of select="$BASEURL"/>/fedora/repository/<xsl:value-of select="$thisPid"/>/-/<xsl:value-of select="$thisTitle"/>/<xsl:value-of select="$page - 1"/> |
||||
</xsl:attribute> |
||||
</a> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:value-of select="$start"/>- |
||||
<xsl:value-of select="$end"/> |
||||
of |
||||
<xsl:value-of select="$count"/>  |
||||
<br /> |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:value-of select="$thisPid"/>/-/ |
||||
<xsl:value-of select="$thisTitle"/>/ |
||||
<xsl:value-of select="$page - 1"/> |
||||
</xsl:attribute> |
||||
<<Prev |
||||
</a>  |
||||
<a> |
||||
<xsl:attribute name="href"><xsl:value-of select="$BASEURL"/>/fedora/repository/<xsl:value-of select="$thisPid"/>/-/<xsl:value-of select="$thisTitle"/>/<xsl:value-of select="$page + 1"/> |
||||
</xsl:attribute> |
||||
</a>  |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:value-of select="$thisPid"/>/-/ |
||||
<xsl:value-of select="$thisTitle"/>/ |
||||
<xsl:value-of select="$page + 1"/> |
||||
</xsl:attribute> |
||||
Next>> |
||||
</a> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</div> <br clear="all" /> |
||||
</td></tr> |
||||
<xsl:apply-templates select="sparql/results"/> |
||||
</table><br clear="all" /> |
||||
<div align="center"> |
||||
<xsl:choose> |
||||
<xsl:when test="$end >= $count and $start = 1"> |
||||
<xsl:value-of select="$start"/>-<xsl:value-of select="$count"/> |
||||
of <xsl:value-of select="$count"/> <br /> |
||||
</xsl:when> |
||||
<xsl:when test="$end >= $count"> |
||||
<xsl:value-of select="$start"/>-<xsl:value-of select="$count"/> |
||||
of <xsl:value-of select="$count"/> <br /> |
||||
<a> |
||||
<xsl:attribute name="href"><xsl:value-of select="$BASEURL"/>/fedora/repository/<xsl:value-of select="$thisPid"/>/-/<xsl:value-of select="$thisTitle"/>/<xsl:value-of select="$page - 1"/> |
||||
</xsl:attribute> |
||||
</a> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</div> |
||||
<br clear="all" /> |
||||
</td> |
||||
</tr> |
||||
<xsl:apply-templates select="sparql/results"/> |
||||
</table> |
||||
<br clear="all" /> |
||||
<div align="center"> |
||||
<xsl:choose> |
||||
<xsl:when test="$end >= $count and $start = 1"> |
||||
<xsl:value-of select="$start"/>- |
||||
<xsl:value-of select="$count"/> |
||||
of |
||||
<xsl:value-of select="$count"/>  |
||||
<br /> |
||||
</xsl:when> |
||||
<xsl:when test="$end >= $count"> |
||||
<xsl:value-of select="$start"/>- |
||||
<xsl:value-of select="$count"/> |
||||
of |
||||
<xsl:value-of select="$count"/>  |
||||
<br /> |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:value-of select="$thisPid"/>/-/ |
||||
<xsl:value-of select="$thisTitle"/>/ |
||||
<xsl:value-of select="$page - 1"/> |
||||
</xsl:attribute> |
||||
<<Prev |
||||
</a> |
||||
</xsl:when> |
||||
<xsl:when test="$start = 1"> |
||||
<xsl:value-of select="$start"/>-<xsl:value-of select="$end"/> |
||||
of <xsl:value-of select="$count"/> <br /> |
||||
<a> |
||||
<xsl:attribute name="href"><xsl:value-of select="$BASEURL"/>/fedora/repository/<xsl:value-of select="$thisPid"/>/-/<xsl:value-of select="$thisTitle"/>/<xsl:value-of select="$page + 1"/> |
||||
</xsl:attribute> |
||||
</a> |
||||
</xsl:when> |
||||
<xsl:when test="$start = 1"> |
||||
<xsl:value-of select="$start"/>- |
||||
<xsl:value-of select="$end"/> |
||||
of |
||||
<xsl:value-of select="$count"/>  |
||||
<br /> |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:value-of select="$thisPid"/>/-/ |
||||
<xsl:value-of select="$thisTitle"/>/ |
||||
<xsl:value-of select="$page + 1"/> |
||||
</xsl:attribute> |
||||
Next>> |
||||
</a> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:value-of select="$start"/>-<xsl:value-of select="$end"/> |
||||
of <xsl:value-of select="$count"/> <br /> |
||||
<a> |
||||
<xsl:attribute name="href"><xsl:value-of select="$BASEURL"/>/fedora/repository/<xsl:value-of select="$thisPid"/>/-/<xsl:value-of select="$thisTitle"/>/<xsl:value-of select="$page - 1"/> |
||||
</xsl:attribute> |
||||
</a> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:value-of select="$start"/>- |
||||
<xsl:value-of select="$end"/> |
||||
of |
||||
<xsl:value-of select="$count"/>  |
||||
<br /> |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:value-of select="$thisPid"/>/-/ |
||||
<xsl:value-of select="$thisTitle"/>/ |
||||
<xsl:value-of select="$page - 1"/> |
||||
</xsl:attribute> |
||||
<<Prev |
||||
</a>  |
||||
<a> |
||||
<xsl:attribute name="href"><xsl:value-of select="$BASEURL"/>/fedora/repository/<xsl:value-of select="$thisPid"/>/-/<xsl:value-of select="$thisTitle"/>/<xsl:value-of select="$page + 1"/> |
||||
</xsl:attribute> |
||||
</a>  |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:value-of select="$thisPid"/>/-/ |
||||
<xsl:value-of select="$thisTitle"/>/ |
||||
<xsl:value-of select="$page + 1"/> |
||||
</xsl:attribute> |
||||
Next>> |
||||
</a> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</div> |
||||
</xsl:if> |
||||
</xsl:template> |
||||
<xsl:template match="sparql/results"> |
||||
<xsl:for-each select="result[position() mod $cellsPerRow = 1 and position()>=$start and position() <=$end]"> |
||||
<tr> |
||||
<xsl:apply-templates select=". | following-sibling::result[position() < $cellsPerRow]"/> |
||||
</tr> |
||||
</xsl:for-each> |
||||
</xsl:template> |
||||
<xsl:template match="result"> |
||||
<xsl:variable name='OBJECTURI' select="object/@uri"/> |
||||
<xsl:variable name='PID' select="substring-after($OBJECTURI,'/')"/> |
||||
<xsl:variable name="newTitle" > |
||||
<xsl:call-template name="replace-string"> |
||||
<xsl:with-param name="text" select="title"/> |
||||
<xsl:with-param name="from" select="'_'"/> |
||||
<xsl:with-param name="to" select="' '"/> |
||||
</xsl:call-template> |
||||
</xsl:variable> |
||||
<xsl:variable name="linkUrl"> |
||||
<xsl:choose> |
||||
<xsl:when test="(content='Collection' or content='Community')"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/<xsl:copy-of select="$PID"/>/-/<xsl:value-of select="title"/> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/<xsl:copy-of select="$PID"/>/<xsl:value-of select="title"/>/<xsl:value-of select="title"/> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</xsl:variable> |
||||
<td valign="top" width="25%"> |
||||
</a> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</div> |
||||
</xsl:if> |
||||
</xsl:template> |
||||
<xsl:template match="sparql/results"> |
||||
<xsl:for-each select="result[position() mod $cellsPerRow = 1 and position()>=$start and position() <=$end]"> |
||||
<tr> |
||||
<xsl:apply-templates select=". | following-sibling::result[position() < $cellsPerRow]"/> |
||||
</tr> |
||||
</xsl:for-each> |
||||
</xsl:template> |
||||
<xsl:template match="result"> |
||||
<xsl:variable name='OBJECTURI' select="object/@uri"/> |
||||
<xsl:variable name='PID' select="substring-after($OBJECTURI,'/')"/> |
||||
<xsl:variable name="newTitle" > |
||||
<xsl:call-template name="replace-string"> |
||||
<xsl:with-param name="text" select="title"/> |
||||
<xsl:with-param name="from" select="'_'"/> |
||||
<xsl:with-param name="to" select="' '"/> |
||||
</xsl:call-template> |
||||
</xsl:variable> |
||||
<xsl:variable name="linkUrl"> |
||||
<xsl:choose> |
||||
<xsl:when test="(content='Collection' or content='Community')"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:copy-of select="$PID"/>/-/ |
||||
<xsl:value-of select="title"/> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:copy-of select="$PID"/>/ |
||||
<xsl:value-of select="title"/>/ |
||||
<xsl:value-of select="title"/> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</xsl:variable> |
||||
<td valign="top" width="25%"> |
||||
|
||||
<img> |
||||
<xsl:attribute name="src"><xsl:value-of select="$BASEURL"/>/fedora/repository/<xsl:value-of select="$PID"/>/TN |
||||
</xsl:attribute> |
||||
</img> <br clear="all" /> |
||||
<img> |
||||
<xsl:attribute name="src"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:value-of select="$PID"/>/TN |
||||
</xsl:attribute> |
||||
</img> |
||||
<br clear="all" /> |
||||
|
||||
|
||||
<xsl:value-of select="$newTitle"/> |
||||
<xsl:value-of select="$newTitle"/> |
||||
|
||||
<xsl:if test="(content!='Collection' and content!='Community')"> |
||||
<br />--<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/<xsl:copy-of select="$PID"/>/-/<xsl:value-of select="title"/> |
||||
</xsl:attribute> |
||||
<xsl:if test="(content!='Collection' and content!='Community')"> |
||||
<br />-- |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:copy-of select="$PID"/>/-/ |
||||
<xsl:value-of select="title"/> |
||||
</xsl:attribute> |
||||
DETAILS |
||||
</a>-- |
||||
</xsl:if> |
||||
</td> |
||||
<xsl:if test="(position() = last()) and (position() < $cellsPerRow)"> |
||||
<xsl:call-template name="FillerCells"> |
||||
<xsl:with-param name="cellCount" select="$cellsPerRow - position()"/> |
||||
</xsl:call-template> |
||||
</xsl:if> |
||||
</xsl:template> |
||||
<xsl:template name="FillerCells"> |
||||
<xsl:param name="cellCount"/> |
||||
<td> </td> |
||||
<xsl:if test="$cellCount > 1"> |
||||
<xsl:call-template name="FillerCells"> |
||||
<xsl:with-param name="cellCount" select="$cellCount - 1"/> |
||||
</xsl:call-template> |
||||
</xsl:if> |
||||
</xsl:template> |
||||
<xsl:template name="replace-string"> |
||||
<xsl:param name="text"/> |
||||
<xsl:param name="from"/> |
||||
<xsl:param name="to"/> |
||||
</a>-- |
||||
</xsl:if> |
||||
</td> |
||||
<xsl:if test="(position() = last()) and (position() < $cellsPerRow)"> |
||||
<xsl:call-template name="FillerCells"> |
||||
<xsl:with-param name="cellCount" select="$cellsPerRow - position()"/> |
||||
</xsl:call-template> |
||||
</xsl:if> |
||||
</xsl:template> |
||||
<xsl:template name="FillerCells"> |
||||
<xsl:param name="cellCount"/> |
||||
<td> </td> |
||||
<xsl:if test="$cellCount > 1"> |
||||
<xsl:call-template name="FillerCells"> |
||||
<xsl:with-param name="cellCount" select="$cellCount - 1"/> |
||||
</xsl:call-template> |
||||
</xsl:if> |
||||
</xsl:template> |
||||
<xsl:template name="replace-string"> |
||||
<xsl:param name="text"/> |
||||
<xsl:param name="from"/> |
||||
<xsl:param name="to"/> |
||||
|
||||
<xsl:choose> |
||||
<xsl:when test="contains($text, $from)"> |
||||
<xsl:choose> |
||||
<xsl:when test="contains($text, $from)"> |
||||
|
||||
<xsl:variable name="before" select="substring-before($text, $from)"/> |
||||
<xsl:variable name="after" select="substring-after($text, $from)"/> |
||||
<xsl:variable name="prefix" select="concat($before, $to)"/> |
||||
<xsl:variable name="before" select="substring-before($text, $from)"/> |
||||
<xsl:variable name="after" select="substring-after($text, $from)"/> |
||||
<xsl:variable name="prefix" select="concat($before, $to)"/> |
||||
|
||||
<xsl:value-of select="$before"/> |
||||
<xsl:value-of select="$to"/> |
||||
<xsl:call-template name="replace-string"> |
||||
<xsl:with-param name="text" select="$after"/> |
||||
<xsl:with-param name="from" select="$from"/> |
||||
<xsl:with-param name="to" select="$to"/> |
||||
</xsl:call-template> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:value-of select="$text"/> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</xsl:template> |
||||
<xsl:value-of select="$before"/> |
||||
<xsl:value-of select="$to"/> |
||||
<xsl:call-template name="replace-string"> |
||||
<xsl:with-param name="text" select="$after"/> |
||||
<xsl:with-param name="from" select="$from"/> |
||||
<xsl:with-param name="to" select="$to"/> |
||||
</xsl:call-template> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:value-of select="$text"/> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</xsl:template> |
||||
</xsl:stylesheet> |
@ -1,92 +1,216 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> |
||||
<xsl:output method="xml" omit-xml-declaration="yes"/> |
||||
<xsl:output method="xml" omit-xml-declaration="yes"/> |
||||
<!-- refworks xslt --> |
||||
<xsl:template match="/"> |
||||
<xsl:if test="/reference/jf"> |
||||
<h2>General Information</h2> |
||||
<table cellpadding="2" cellspacing="2"> |
||||
<tr><td ><strong>Periodical:</strong></td><td><xsl:value-of select="/reference/jf"/></td></tr> |
||||
<tr><td><strong>Abbreviation:</strong></td><td><xsl:value-of select="/reference/jo"/></td></tr> |
||||
<tr><td><strong>Volume:</strong></td><td><xsl:value-of select="/reference/vo"/></td></tr> |
||||
<tr><td><strong>Issue:</strong></td><td><xsl:value-of select="/reference/is"/></td></tr> |
||||
<tr><td><strong>Publisher:</strong></td><td><xsl:value-of select="/reference/pb"/></td></tr> |
||||
<tr><td><strong>Place of Publication:</strong></td><td><xsl:value-of select="/reference/pp"/></td></tr> |
||||
<tr><td><strong>Edition:</strong></td><td><xsl:value-of select="/reference/ed"/></td></tr> |
||||
<tr><td><strong>Year:</strong></td><td><xsl:value-of select="/reference/yr"/></td></tr> |
||||
<tr><td><strong>Date:</strong></td><td><xsl:value-of select="/reference/fd"/></td></tr> |
||||
<tr><td><strong>Start Page:</strong></td><td><xsl:value-of select="/reference/sp"/></td></tr> |
||||
<tr><td><strong>Other Pages:</strong></td><td><xsl:value-of select="/reference/op"/></td></tr> |
||||
<tr><td><strong>ISSN/ISBN:</strong></td><td><xsl:value-of select="/reference/sn"/></td></tr> |
||||
<tr><td><strong>Language:</strong></td><td><xsl:value-of select="/reference/la"/></td></tr> |
||||
<tr><td><strong>UL:</strong></td><td><xsl:value-of select="/reference/ul"/></td></tr> |
||||
</table> |
||||
</xsl:if> |
||||
<xsl:if test="/reference/t1"> |
||||
<h2>Titles</h2> |
||||
<ul> |
||||
<xsl:for-each select="/reference/t1"> |
||||
<li><xsl:value-of select="."/></li> |
||||
</xsl:for-each> |
||||
</ul> |
||||
</xsl:if> |
||||
<xsl:if test="/reference/t2"> |
||||
<ul> |
||||
<h3>Secondary Titles</h3> |
||||
<xsl:for-each select="/reference/t2"> |
||||
<li><xsl:value-of select="."/></li> |
||||
</xsl:for-each> |
||||
</ul> |
||||
</xsl:if> |
||||
<xsl:if test="/reference/a1"> |
||||
<h2>Authors</h2> |
||||
<ul> |
||||
<xsl:for-each select="/reference/a1"> |
||||
<li><xsl:value-of select="."/></li> |
||||
</xsl:for-each> |
||||
</ul> |
||||
</xsl:if> |
||||
<xsl:template match="/"> |
||||
<xsl:if test="/reference/jf"> |
||||
<h2>General Information</h2> |
||||
<table cellpadding="2" cellspacing="2"> |
||||
<tr> |
||||
<td > |
||||
<strong>Periodical:</strong> |
||||
</td> |
||||
<td> |
||||
<xsl:value-of select="/reference/jf"/> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td> |
||||
<strong>Abbreviation:</strong> |
||||
</td> |
||||
<td> |
||||
<xsl:value-of select="/reference/jo"/> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td> |
||||
<strong>Volume:</strong> |
||||
</td> |
||||
<td> |
||||
<xsl:value-of select="/reference/vo"/> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td> |
||||
<strong>Issue:</strong> |
||||
</td> |
||||
<td> |
||||
<xsl:value-of select="/reference/is"/> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td> |
||||
<strong>Publisher:</strong> |
||||
</td> |
||||
<td> |
||||
<xsl:value-of select="/reference/pb"/> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td> |
||||
<strong>Place of Publication:</strong> |
||||
</td> |
||||
<td> |
||||
<xsl:value-of select="/reference/pp"/> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td> |
||||
<strong>Edition:</strong> |
||||
</td> |
||||
<td> |
||||
<xsl:value-of select="/reference/ed"/> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td> |
||||
<strong>Year:</strong> |
||||
</td> |
||||
<td> |
||||
<xsl:value-of select="/reference/yr"/> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td> |
||||
<strong>Date:</strong> |
||||
</td> |
||||
<td> |
||||
<xsl:value-of select="/reference/fd"/> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td> |
||||
<strong>Start Page:</strong> |
||||
</td> |
||||
<td> |
||||
<xsl:value-of select="/reference/sp"/> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td> |
||||
<strong>Other Pages:</strong> |
||||
</td> |
||||
<td> |
||||
<xsl:value-of select="/reference/op"/> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td> |
||||
<strong>ISSN/ISBN:</strong> |
||||
</td> |
||||
<td> |
||||
<xsl:value-of select="/reference/sn"/> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td> |
||||
<strong>Language:</strong> |
||||
</td> |
||||
<td> |
||||
<xsl:value-of select="/reference/la"/> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td> |
||||
<strong>UL:</strong> |
||||
</td> |
||||
<td> |
||||
<xsl:value-of select="/reference/ul"/> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</xsl:if> |
||||
<xsl:if test="/reference/t1"> |
||||
<h2>Titles</h2> |
||||
<ul> |
||||
<xsl:for-each select="/reference/t1"> |
||||
<li> |
||||
<xsl:value-of select="."/> |
||||
</li> |
||||
</xsl:for-each> |
||||
</ul> |
||||
</xsl:if> |
||||
<xsl:if test="/reference/t2"> |
||||
<ul> |
||||
<h3>Secondary Titles</h3> |
||||
<xsl:for-each select="/reference/t2"> |
||||
<li> |
||||
<xsl:value-of select="."/> |
||||
</li> |
||||
</xsl:for-each> |
||||
</ul> |
||||
</xsl:if> |
||||
<xsl:if test="/reference/a1"> |
||||
<h2>Authors</h2> |
||||
<ul> |
||||
<xsl:for-each select="/reference/a1"> |
||||
<li> |
||||
<xsl:value-of select="."/> |
||||
</li> |
||||
</xsl:for-each> |
||||
</ul> |
||||
</xsl:if> |
||||
|
||||
<xsl:if test="/reference/a2"> |
||||
<ul> |
||||
<h3>Secondary Authors</h3> |
||||
<xsl:for-each select="/reference/a2"> |
||||
<li><xsl:value-of select="."/></li> |
||||
</xsl:for-each> |
||||
</ul> |
||||
</xsl:if> |
||||
<xsl:if test="/reference/k1"> |
||||
<h2>Keywords</h2> |
||||
<ul> |
||||
<xsl:for-each select="/reference/k1"> |
||||
<li><xsl:value-of select="."/></li> |
||||
</xsl:for-each> |
||||
</ul> |
||||
</xsl:if> |
||||
<xsl:if test="/reference/ab"> |
||||
<h2>Abstract</h2> |
||||
<xsl:for-each select="/reference/ab"> |
||||
<div><xsl:value-of select="."/> </div> |
||||
</xsl:for-each> |
||||
</xsl:if> |
||||
<xsl:if test="/reference/no"> |
||||
<h2>Notes</h2> |
||||
<xsl:for-each select="/reference/no"> |
||||
<div><xsl:value-of select="."/> </div> |
||||
</xsl:for-each> |
||||
</xsl:if> |
||||
<xsl:variable name="ISSN"> |
||||
<xsl:value-of select="/reference/sn"/> |
||||
</xsl:variable> |
||||
<xsl:variable name="BASEURL"> |
||||
http://articles.library.upei.ca:7888/godot/hold_tab.cgi?hold_tab_branch=PCU&issn=<xsl:value-of select="/reference/sn/text()"/>&date=<xsl:value-of select="/reference/yr/text()"/>&volume=<xsl:value-of select="/reference/vo/text()"/>&issue=<xsl:value-of select="/reference/is/text()"/>&spage=<xsl:value-of select="/reference/sp/text()"/>&atitle=<xsl:value-of select="/reference/t1"/>&stitle=<xsl:value-of select="/reference/jf"/> |
||||
</xsl:variable> |
||||
<br /> |
||||
<xsl:if test="/reference/sn"> |
||||
<div><a> |
||||
<xsl:attribute name="href"><xsl:value-of select="$BASEURL"/></xsl:attribute> |
||||
<xsl:attribute name="target">_blank</xsl:attribute> |
||||
<img src="http://asin1.its.unb.ca:8000/muse/images/getit4.gif"/> </a></div> |
||||
</xsl:if> |
||||
</xsl:template> |
||||
<xsl:if test="/reference/a2"> |
||||
<ul> |
||||
<h3>Secondary Authors</h3> |
||||
<xsl:for-each select="/reference/a2"> |
||||
<li> |
||||
<xsl:value-of select="."/> |
||||
</li> |
||||
</xsl:for-each> |
||||
</ul> |
||||
</xsl:if> |
||||
<xsl:if test="/reference/k1"> |
||||
<h2>Keywords</h2> |
||||
<ul> |
||||
<xsl:for-each select="/reference/k1"> |
||||
<li> |
||||
<xsl:value-of select="."/> |
||||
</li> |
||||
</xsl:for-each> |
||||
</ul> |
||||
</xsl:if> |
||||
<xsl:if test="/reference/ab"> |
||||
<h2>Abstract</h2> |
||||
<xsl:for-each select="/reference/ab"> |
||||
<div> |
||||
<xsl:value-of select="."/> |
||||
</div> |
||||
</xsl:for-each> |
||||
</xsl:if> |
||||
<xsl:if test="/reference/no"> |
||||
<h2>Notes</h2> |
||||
<xsl:for-each select="/reference/no"> |
||||
<div> |
||||
<xsl:value-of select="."/> |
||||
</div> |
||||
</xsl:for-each> |
||||
</xsl:if> |
||||
<xsl:variable name="ISSN"> |
||||
<xsl:value-of select="/reference/sn"/> |
||||
</xsl:variable> |
||||
<xsl:variable name="BASEURL"> |
||||
http://articles.library.upei.ca:7888/godot/hold_tab.cgi?hold_tab_branch=PCU&issn= |
||||
<xsl:value-of select="/reference/sn/text()"/>&date= |
||||
<xsl:value-of select="/reference/yr/text()"/>&volume= |
||||
<xsl:value-of select="/reference/vo/text()"/>&issue= |
||||
<xsl:value-of select="/reference/is/text()"/>&spage= |
||||
<xsl:value-of select="/reference/sp/text()"/>&atitle= |
||||
<xsl:value-of select="/reference/t1"/>&stitle= |
||||
<xsl:value-of select="/reference/jf"/> |
||||
</xsl:variable> |
||||
<br /> |
||||
<xsl:if test="/reference/sn"> |
||||
<div> |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/> |
||||
</xsl:attribute> |
||||
<xsl:attribute name="target">_blank</xsl:attribute> |
||||
<img src="http://asin1.its.unb.ca:8000/muse/images/getit4.gif"/> |
||||
</a> |
||||
</div> |
||||
</xsl:if> |
||||
</xsl:template> |
||||
</xsl:stylesheet> |
@ -1,125 +1,190 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> |
||||
<!-- DEFAULT XSLT FOR COLLECTIONS THAT DO NOT DEFINE THEIR OWN--> |
||||
<xsl:variable name="BASEURL"> |
||||
<xsl:value-of select="$baseUrl"/> |
||||
</xsl:variable> |
||||
<xsl:variable name="PATH"> |
||||
<xsl:value-of select="$path"/> |
||||
</xsl:variable> |
||||
<xsl:variable name="thisPid" select="$collectionPid"/> |
||||
<xsl:variable name="thisTitle" select="$collectionTitle"/> |
||||
<xsl:variable name="size" select="20"/> |
||||
<xsl:variable name="page" select="$hitPage"/> |
||||
<xsl:variable name="start" select="((number($page) - 1) * number($size)) + 1"/> |
||||
<xsl:variable name="end" select="($start - 1) + number($size)"/> |
||||
<xsl:variable name='columns' select="4"/> |
||||
<xsl:variable name="count" select="count(sparql/results/result)"/> |
||||
<xsl:template match="/"> |
||||
<xsl:if test="$count>0"> |
||||
<xsl:variable name="BASEURL"> |
||||
<xsl:value-of select="$baseUrl"/> |
||||
</xsl:variable> |
||||
<xsl:variable name="PATH"> |
||||
<xsl:value-of select="$path"/> |
||||
</xsl:variable> |
||||
<xsl:variable name="thisPid" select="$collectionPid"/> |
||||
<xsl:variable name="thisTitle" select="$collectionTitle"/> |
||||
<xsl:variable name="size" select="20"/> |
||||
<xsl:variable name="page" select="$hitPage"/> |
||||
<xsl:variable name="start" select="((number($page) - 1) * number($size)) + 1"/> |
||||
<xsl:variable name="end" select="($start - 1) + number($size)"/> |
||||
<xsl:variable name='columns' select="4"/> |
||||
<xsl:variable name="count" select="count(sparql/results/result)"/> |
||||
<xsl:template match="/"> |
||||
<xsl:if test="$count>0"> |
||||
|
||||
<table width='100%'> |
||||
<tr><td colspan="2"> |
||||
<div align="center"> |
||||
<xsl:choose> |
||||
<xsl:when test="$end >= $count and $start = 1"> |
||||
<xsl:value-of select="$start"/>-<xsl:value-of select="$count"/> |
||||
of <xsl:value-of select="$count"/> <br /> |
||||
</xsl:when> |
||||
<xsl:when test="$end >= $count"> |
||||
<xsl:value-of select="$start"/>-<xsl:value-of select="$count"/> |
||||
of <xsl:value-of select="$count"/> <br /> |
||||
<a> |
||||
<xsl:attribute name="href"><xsl:value-of select="$BASEURL"/>/fedora/repository/<xsl:value-of select="$thisPid"/>/-/<xsl:value-of select="$thisTitle"/>/<xsl:value-of select="$page - 1"/> |
||||
</xsl:attribute> |
||||
<table width='100%'> |
||||
<tr> |
||||
<td colspan="2"> |
||||
<div align="center"> |
||||
<xsl:choose> |
||||
<xsl:when test="$end >= $count and $start = 1"> |
||||
<xsl:value-of select="$start"/>- |
||||
<xsl:value-of select="$count"/> |
||||
of |
||||
<xsl:value-of select="$count"/>  |
||||
<br /> |
||||
</xsl:when> |
||||
<xsl:when test="$end >= $count"> |
||||
<xsl:value-of select="$start"/>- |
||||
<xsl:value-of select="$count"/> |
||||
of |
||||
<xsl:value-of select="$count"/>  |
||||
<br /> |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:value-of select="$thisPid"/>/-/ |
||||
<xsl:value-of select="$thisTitle"/>/ |
||||
<xsl:value-of select="$page - 1"/> |
||||
</xsl:attribute> |
||||
<<Prev |
||||
</a> |
||||
</xsl:when> |
||||
<xsl:when test="$start = 1"> |
||||
<xsl:value-of select="$start"/>-<xsl:value-of select="$end"/> |
||||
of <xsl:value-of select="$count"/> <br /> |
||||
<a> |
||||
<xsl:attribute name="href"><xsl:value-of select="$BASEURL"/>/fedora/repository/<xsl:value-of select="$thisPid"/>/-/<xsl:value-of select="$thisTitle"/>/<xsl:value-of select="$page + 1"/> |
||||
</xsl:attribute> |
||||
</a> |
||||
</xsl:when> |
||||
<xsl:when test="$start = 1"> |
||||
<xsl:value-of select="$start"/>- |
||||
<xsl:value-of select="$end"/> |
||||
of |
||||
<xsl:value-of select="$count"/>  |
||||
<br /> |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:value-of select="$thisPid"/>/-/ |
||||
<xsl:value-of select="$thisTitle"/>/ |
||||
<xsl:value-of select="$page + 1"/> |
||||
</xsl:attribute> |
||||
Next>> |
||||
</a> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:value-of select="$start"/>-<xsl:value-of select="$end"/> |
||||
of <xsl:value-of select="$count"/> <br /> |
||||
<a> |
||||
<xsl:attribute name="href"><xsl:value-of select="$BASEURL"/>/fedora/repository/<xsl:value-of select="$thisPid"/>/-/<xsl:value-of select="$thisTitle"/>/<xsl:value-of select="$page - 1"/> |
||||
</xsl:attribute> |
||||
</a> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:value-of select="$start"/>- |
||||
<xsl:value-of select="$end"/> |
||||
of |
||||
<xsl:value-of select="$count"/>  |
||||
<br /> |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:value-of select="$thisPid"/>/-/ |
||||
<xsl:value-of select="$thisTitle"/>/ |
||||
<xsl:value-of select="$page - 1"/> |
||||
</xsl:attribute> |
||||
<<Prev |
||||
</a>  |
||||
<a> |
||||
<xsl:attribute name="href"><xsl:value-of select="$BASEURL"/>/fedora/repository/<xsl:value-of select="$thisPid"/>/-/<xsl:value-of select="$thisTitle"/>/<xsl:value-of select="$page + 1"/> |
||||
</xsl:attribute> |
||||
</a>  |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:value-of select="$thisPid"/>/-/ |
||||
<xsl:value-of select="$thisTitle"/>/ |
||||
<xsl:value-of select="$page + 1"/> |
||||
</xsl:attribute> |
||||
Next>> |
||||
</a> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</div> |
||||
</td></tr> |
||||
</a> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</div> |
||||
</td> |
||||
</tr> |
||||
<!--select="//guestbook/entry[position()>=$start and $end>=position()]">--> |
||||
<xsl:for-each select="/sparql/results/result[position()>=$start and position() <=$end]"> |
||||
<xsl:variable name='OBJECTURI' select="object/@uri"/> |
||||
<xsl:variable name='PID' select="substring-after($OBJECTURI,'/')"/> |
||||
<tr> |
||||
<td> |
||||
<img> |
||||
<xsl:attribute name="src"><xsl:value-of select="$BASEURL"/>/fedora/repository/<xsl:value-of select="$PID"/>/TN |
||||
</xsl:attribute> |
||||
</img> |
||||
</td><td> |
||||
<a> |
||||
<xsl:attribute name="href"><xsl:value-of select="$BASEURL"/>/fedora/repository/<xsl:copy-of select="$PID"/>/-/<xsl:value-of select="title"/> |
||||
</xsl:attribute> |
||||
<xsl:value-of select="title"/> |
||||
</a> |
||||
</td></tr> |
||||
</xsl:for-each> |
||||
</table> |
||||
<div align="center"> |
||||
<xsl:choose> |
||||
<xsl:when test="$end >= $count and $start = 1"> |
||||
<xsl:value-of select="$start"/>-<xsl:value-of select="$count"/> |
||||
of <xsl:value-of select="$count"/> <br /> |
||||
</xsl:when> |
||||
<xsl:when test="$end >= $count"> |
||||
<xsl:value-of select="$start"/>-<xsl:value-of select="$count"/> |
||||
of <xsl:value-of select="$count"/> <br /> |
||||
<a> |
||||
<xsl:attribute name="href"><xsl:value-of select="$BASEURL"/>/fedora/repository/<xsl:value-of select="$thisPid"/>/-/<xsl:value-of select="$thisTitle"/>/<xsl:value-of select="$page - 1"/> |
||||
</xsl:attribute> |
||||
<xsl:for-each select="/sparql/results/result[position()>=$start and position() <=$end]"> |
||||
<xsl:variable name='OBJECTURI' select="object/@uri"/> |
||||
<xsl:variable name='PID' select="substring-after($OBJECTURI,'/')"/> |
||||
<tr> |
||||
<td> |
||||
<img> |
||||
<xsl:attribute name="src"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:value-of select="$PID"/>/TN |
||||
</xsl:attribute> |
||||
</img> |
||||
</td> |
||||
<td> |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:copy-of select="$PID"/>/-/ |
||||
<xsl:value-of select="title"/> |
||||
</xsl:attribute> |
||||
<xsl:value-of select="title"/> |
||||
</a> |
||||
</td> |
||||
</tr> |
||||
</xsl:for-each> |
||||
</table> |
||||
<div align="center"> |
||||
<xsl:choose> |
||||
<xsl:when test="$end >= $count and $start = 1"> |
||||
<xsl:value-of select="$start"/>- |
||||
<xsl:value-of select="$count"/> |
||||
of |
||||
<xsl:value-of select="$count"/>  |
||||
<br /> |
||||
</xsl:when> |
||||
<xsl:when test="$end >= $count"> |
||||
<xsl:value-of select="$start"/>- |
||||
<xsl:value-of select="$count"/> |
||||
of |
||||
<xsl:value-of select="$count"/>  |
||||
<br /> |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:value-of select="$thisPid"/>/-/ |
||||
<xsl:value-of select="$thisTitle"/>/ |
||||
<xsl:value-of select="$page - 1"/> |
||||
</xsl:attribute> |
||||
<<Prev |
||||
</a> |
||||
</xsl:when> |
||||
<xsl:when test="$start = 1"> |
||||
<xsl:value-of select="$start"/>-<xsl:value-of select="$end"/> |
||||
of <xsl:value-of select="$count"/> <br /> |
||||
<a> |
||||
<xsl:attribute name="href"><xsl:value-of select="$BASEURL"/>/fedora/repository/<xsl:value-of select="$thisPid"/>/-/<xsl:value-of select="$thisTitle"/>/<xsl:value-of select="$page + 1"/> |
||||
</xsl:attribute> |
||||
</a> |
||||
</xsl:when> |
||||
<xsl:when test="$start = 1"> |
||||
<xsl:value-of select="$start"/>- |
||||
<xsl:value-of select="$end"/> |
||||
of |
||||
<xsl:value-of select="$count"/>  |
||||
<br /> |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:value-of select="$thisPid"/>/-/ |
||||
<xsl:value-of select="$thisTitle"/>/ |
||||
<xsl:value-of select="$page + 1"/> |
||||
</xsl:attribute> |
||||
Next>> |
||||
</a> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:value-of select="$start"/>-<xsl:value-of select="$end"/> |
||||
of <xsl:value-of select="$count"/> <br /> |
||||
<a> |
||||
<xsl:attribute name="href"><xsl:value-of select="$BASEURL"/>/fedora/repository/<xsl:value-of select="$thisPid"/>/-/<xsl:value-of select="$thisTitle"/>/<xsl:value-of select="$page - 1"/> |
||||
</xsl:attribute> |
||||
</a> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:value-of select="$start"/>- |
||||
<xsl:value-of select="$end"/> |
||||
of |
||||
<xsl:value-of select="$count"/>  |
||||
<br /> |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:value-of select="$thisPid"/>/-/ |
||||
<xsl:value-of select="$thisTitle"/>/ |
||||
<xsl:value-of select="$page - 1"/> |
||||
</xsl:attribute> |
||||
<<Prev |
||||
</a>  |
||||
<a> |
||||
<xsl:attribute name="href"><xsl:value-of select="$BASEURL"/>/fedora/repository/<xsl:value-of select="$thisPid"/>/-/<xsl:value-of select="$thisTitle"/>/<xsl:value-of select="$page + 1"/> |
||||
</xsl:attribute> |
||||
</a>  |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:value-of select="$BASEURL"/>/fedora/repository/ |
||||
<xsl:value-of select="$thisPid"/>/-/ |
||||
<xsl:value-of select="$thisTitle"/>/ |
||||
<xsl:value-of select="$page + 1"/> |
||||
</xsl:attribute> |
||||
Next>> |
||||
</a> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</div> |
||||
</xsl:if> |
||||
</xsl:template> |
||||
</a> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</div> |
||||
</xsl:if> |
||||
</xsl:template> |
||||
</xsl:stylesheet> |
@ -1,132 +1,133 @@
|
||||
<?php |
||||
// $Id$ |
||||
|
||||
/* |
||||
* Tests the functions of the Fedora Repository module. |
||||
*/ |
||||
|
||||
|
||||
/** |
||||
* @file |
||||
* Tests the functions of the Fedora Repository module. |
||||
*/ |
||||
|
||||
class FedoraBookTestCase extends DrupalWebTestCase { |
||||
|
||||
public static function getInfo() { |
||||
return array( |
||||
'name' => 'Fedora Book', |
||||
'description' => t('The Fedora repository book content model.'), |
||||
'group' => t('fedora repository'), |
||||
); |
||||
} |
||||
|
||||
function setUp() { |
||||
parent::setUp('fedora_repository', 'fedora_ilives', 'tabs'); |
||||
|
||||
module_load_include('inc', 'fedora_repository', 'api/fedora_item'); |
||||
|
||||
// Create and login user. |
||||
$repository_user = $this->drupalCreateFedoraUser(array('add fedora datastreams', |
||||
'edit fedora meta data', |
||||
'edit tags datastream', |
||||
'ingest new fedora objects', |
||||
'purge objects and datastreams', |
||||
'view fedora collection', |
||||
'view detailed list of content')); |
||||
|
||||
|
||||
$this->drupalLogin($repository_user); |
||||
|
||||
} |
||||
|
||||
public function testBookCModel() { |
||||
// First add a book collection |
||||
|
||||
$pid_list = array(); |
||||
// Create a collection for ingesting book content model objects. |
||||
|
||||
$ingest_form = array(); |
||||
$ingest_form['models'] = 'islandora:collectionCModel/ISLANDORACM'; |
||||
|
||||
$this->drupalPost('fedora/ingestObject/islandora:top/Islandora%20Top-Level%20Collection', $ingest_form, 'Next'); |
||||
|
||||
$ingest_title = $this->randomName(32); |
||||
$ingest_form_step_2['dc:title'] = $ingest_title; |
||||
$ingest_form_step_2['dc:description'] = $this->randomName(256); |
||||
$ingest_form_step_2['files[ingest-file-location]'] = realpath(drupal_get_path('module', 'fedora_ilives') . '/xml/book_collection_policy.xml'); |
||||
$this->drupalPost(NULL, $ingest_form_step_2, 'Ingest'); |
||||
$this->assertPattern('/Item .* created successfully./', "Verified item created."); |
||||
|
||||
$pid = $this->getIngestedPid(); |
||||
$this->drupalGet("fedora/repository/$pid"); |
||||
$pid_list[] = $pid; |
||||
|
||||
// Now add a book into the new collection |
||||
$this->pass("Create book collection $pid below top-level collection.", 'fedora book'); |
||||
$ingest_book_form = array(); |
||||
$ingest_book_form['models'] = 'ilives:bookCModel/ISLANDORACM'; |
||||
$this->drupalPost("fedora/ingestObject/$pid/", $ingest_book_form, 'Next'); |
||||
$ingest_book_form_step_2 = array(); |
||||
|
||||
$ingest_book_form_step_2['mods[mods_record]'] = file_get_contents(drupal_get_path('module', 'fedora_ilives') . '/tests/test_files/mods_record.xml'); |
||||
$this->outputScreenContents(); |
||||
$this->drupalPost(NULL, $ingest_book_form_step_2, 'Ingest'); |
||||
$this->outputScreenContents(); |
||||
$book_pid = $this->getIngestedPid(); |
||||
$pid_list[] = $book_pid; |
||||
if (!empty($book_pid)) { |
||||
$this->pass("Successfully ingested book object $book_pid."); |
||||
} |
||||
$this->cleanUpRepository($pid_list); |
||||
|
||||
} |
||||
|
||||
private function cleanUpRepository($pid_list = array()) { |
||||
$this->pass("This is the PID list to purge: ". implode(", ", $pid_list) ); |
||||
foreach ($pid_list as $pid) { |
||||
$this->drupalPost("fedora/repository/purgeObject/$pid", array(), 'Purge'); |
||||
$this->drupalPost(NULL, array(), 'Delete'); |
||||
} |
||||
} |
||||
|
||||
private function getIngestedPid() { |
||||
$subject = $this->drupalGetContent(); |
||||
$pattern = '/">(.*)<\/a> created successfully./'; |
||||
$matches = array(); |
||||
$res = preg_match($pattern, $subject, $matches); |
||||
return $matches[1]; |
||||
} |
||||
|
||||
private function outputScreenContents($description = '', $basename = '') { |
||||
// This is a hack to get a directory that won't be cleaned up by SimpleTest. |
||||
$file_dir = file_directory_path() . '../simpletest_output_pages'; |
||||
if (!is_dir($file_dir)) { |
||||
mkdir($file_dir, 0777, TRUE); |
||||
} |
||||
$output_path = "$file_dir/$basename.". $this->randomName(10) . '.html'; |
||||
$rv = file_put_contents($output_path, $this->drupalGetContent()); |
||||
$this->pass("$description: Contents of result page are ". l('here', $output_path)); |
||||
} |
||||
public static function getInfo() { |
||||
return array( |
||||
'name' => 'Fedora Book', |
||||
'description' => t('The Fedora repository book content model.'), |
||||
'group' => t('fedora repository'), |
||||
); |
||||
} |
||||
|
||||
function setUp() { |
||||
parent::setUp('fedora_repository', 'fedora_ilives', 'tabs'); |
||||
|
||||
module_load_include('inc', 'fedora_repository', 'api/fedora_item'); |
||||
|
||||
// Create and login user. |
||||
$repository_user = $this->drupalCreateFedoraUser(array('add fedora datastreams', |
||||
'edit fedora meta data', |
||||
'edit tags datastream', |
||||
'ingest new fedora objects', |
||||
'purge objects and datastreams', |
||||
'view fedora collection', |
||||
'view detailed list of content')); |
||||
|
||||
|
||||
$this->drupalLogin($repository_user); |
||||
} |
||||
|
||||
public function testBookCModel() { |
||||
// First add a book collection |
||||
|
||||
$pid_list = array(); |
||||
// Create a collection for ingesting book content model objects. |
||||
|
||||
$ingest_form = array(); |
||||
$ingest_form['models'] = 'islandora:collectionCModel/ISLANDORACM'; |
||||
|
||||
$this->drupalPost('fedora/ingestObject/islandora:top/Islandora%20Top-Level%20Collection', $ingest_form, 'Next'); |
||||
|
||||
$ingest_title = $this->randomName(32); |
||||
$ingest_form_step_2['dc:title'] = $ingest_title; |
||||
$ingest_form_step_2['dc:description'] = $this->randomName(256); |
||||
$ingest_form_step_2['files[ingest-file-location]'] = realpath(drupal_get_path('module', 'fedora_ilives') . '/xml/book_collection_policy.xml'); |
||||
$this->drupalPost(NULL, $ingest_form_step_2, 'Ingest'); |
||||
$this->assertPattern('/Item .* created successfully./', "Verified item created."); |
||||
|
||||
$pid = $this->getIngestedPid(); |
||||
$this->drupalGet("fedora/repository/$pid"); |
||||
$pid_list[] = $pid; |
||||
|
||||
// Now add a book into the new collection |
||||
$this->pass("Create book collection $pid below top-level collection.", 'fedora book'); |
||||
$ingest_book_form = array(); |
||||
$ingest_book_form['models'] = 'ilives:bookCModel/ISLANDORACM'; |
||||
$this->drupalPost("fedora/ingestObject/$pid/", $ingest_book_form, 'Next'); |
||||
$ingest_book_form_step_2 = array(); |
||||
|
||||
$ingest_book_form_step_2['mods[mods_record]'] = file_get_contents(drupal_get_path('module', 'fedora_ilives') . '/tests/test_files/mods_record.xml'); |
||||
$this->outputScreenContents(); |
||||
$this->drupalPost(NULL, $ingest_book_form_step_2, 'Ingest'); |
||||
$this->outputScreenContents(); |
||||
$book_pid = $this->getIngestedPid(); |
||||
$pid_list[] = $book_pid; |
||||
if (!empty($book_pid)) { |
||||
$this->pass("Successfully ingested book object $book_pid."); |
||||
} |
||||
$this->cleanUpRepository($pid_list); |
||||
} |
||||
|
||||
private function cleanUpRepository($pid_list = array()) { |
||||
$this->pass("This is the PID list to purge: " . implode(", ", $pid_list)); |
||||
foreach ($pid_list as $pid) { |
||||
$this->drupalPost("fedora/repository/purgeObject/$pid", array(), 'Purge'); |
||||
$this->drupalPost(NULL, array(), 'Delete'); |
||||
} |
||||
} |
||||
|
||||
private function getIngestedPid() { |
||||
$subject = $this->drupalGetContent(); |
||||
$pattern = '/">(.*)<\/a> created successfully./'; |
||||
$matches = array(); |
||||
$res = preg_match($pattern, $subject, $matches); |
||||
return $matches[1]; |
||||
} |
||||
|
||||
private function outputScreenContents($description = '', $basename = '') { |
||||
// This is a hack to get a directory that won't be cleaned up by SimpleTest. |
||||
$file_dir = file_directory_path() . '../simpletest_output_pages'; |
||||
if (!is_dir($file_dir)) { |
||||
mkdir($file_dir, 0777, TRUE); |
||||
} |
||||
$output_path = "$file_dir/$basename." . $this->randomName(10) . '.html'; |
||||
$rv = file_put_contents($output_path, $this->drupalGetContent()); |
||||
$this->pass("$description: Contents of result page are " . l(t('here'), $output_path)); |
||||
} |
||||
|
||||
protected function drupalCreateFedoraUser($permissions = array('access comments', 'access content', 'post comments', 'post comments without approval')) { |
||||
// Create a role with the given permission set. |
||||
if (!($rid = $this->drupalCreateRole($permissions))) { |
||||
return FALSE; |
||||
} |
||||
|
||||
// Create a user assigned to that role. |
||||
$edit = array(); |
||||
$edit['name'] = 'simpletestuser'; |
||||
$edit['mail'] = $edit['name'] . '@example.com'; |
||||
$edit['roles'] = array($rid => $rid); |
||||
$edit['pass'] = 'simpletestpass'; |
||||
$edit['status'] = 1; |
||||
|
||||
$account = user_save('', $edit); |
||||
|
||||
$this->assertTrue(!empty($account->uid), t('User created with name %name and pass %pass', array('%name' => $edit['name'], '%pass' => $edit['pass'])), t('User login')); |
||||
if (empty($account->uid)) { |
||||
return FALSE; |
||||
} |
||||
|
||||
// Add the raw password so that we can log in as this user. |
||||
$account->pass_raw = $edit['pass']; |
||||
return $account; |
||||
} |
||||
|
||||
} |
||||
// Create a role with the given permission set. |
||||
if (!($rid = $this->drupalCreateRole($permissions))) { |
||||
return FALSE; |
||||
} |
||||
|
||||
// Create a user assigned to that role. |
||||
$edit = array(); |
||||
$edit['name'] = 'simpletestuser'; |
||||
$edit['mail'] = $edit['name'] . '@example.com'; |
||||
$edit['roles'] = array($rid => $rid); |
||||
$edit['pass'] = 'simpletestpass'; |
||||
$edit['status'] = 1; |
||||
|
||||
$account = user_save('', $edit); |
||||
|
||||
$this->assertTrue(!empty($account->uid), t('User created with name %name and pass %pass', array('%name' => $edit['name'], '%pass' => $edit['pass'])), t('User login')); |
||||
if (empty($account->uid)) { |
||||
return FALSE; |
||||
} |
||||
|
||||
// Add the raw password so that we can log in as this user. |
||||
$account->pass_raw = $edit['pass']; |
||||
return $account; |
||||
} |
||||
|
||||
} |
||||
|
||||
|
@ -1,83 +1,83 @@
|
||||
<?xml version="1.0"?> |
||||
<mods:modsCollection xmlns:mods="http://www.loc.gov/mods/v3" version="3.0"> |
||||
<mods:mods xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.loc.gov/mods/v3" version="3.0" xsi:schemaLocation="http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-0.xsd"> |
||||
<titleInfo> |
||||
<nonSort>The </nonSort> |
||||
<title>amazing Maurice and his educated rodents</title> |
||||
</titleInfo> |
||||
<name type="personal"> |
||||
<namePart>Pratchett, Terry.</namePart> |
||||
<role> |
||||
<roleTerm authority="marcrelator" type="text">creator</roleTerm> |
||||
</role> |
||||
</name> |
||||
<typeOfResource>text</typeOfResource> |
||||
<genre authority="marc">novel</genre> |
||||
<originInfo> |
||||
<place> |
||||
<placeTerm type="code" authority="marccountry">enk</placeTerm> |
||||
</place> |
||||
<place> |
||||
<placeTerm type="text">London</placeTerm> |
||||
</place> |
||||
<publisher>Corgi Books</publisher> |
||||
<dateIssued>2002</dateIssued> |
||||
<dateIssued encoding="marc">2001</dateIssued> |
||||
<issuance>monographic</issuance> |
||||
</originInfo> |
||||
<language> |
||||
<languageTerm authority="iso639-2b" type="code">eng</languageTerm> |
||||
</language> |
||||
<physicalDescription> |
||||
<form authority="marcform">print</form> |
||||
<extent>269 p. ; 22 cm.</extent> |
||||
</physicalDescription> |
||||
<abstract>A talking cat, intelligent rats, and a strange boy cooperate in a Pied Piper scam until they try to con the wrong town and are confronted by a deadly evil rat king.</abstract> |
||||
<targetAudience authority="marctarget">juvenile</targetAudience> |
||||
<note type="statement of responsibility">Terry Pratchett.</note> |
||||
<note>Carnegie Medal winner.</note> |
||||
<subject authority="lcsh"> |
||||
<topic>Discworld (Imaginary place)</topic> |
||||
<topic>Fiction</topic> |
||||
</subject> |
||||
<subject authority="lcsh"> |
||||
<topic>Discworld (Imaginary place)</topic> |
||||
<topic>Fiction</topic> |
||||
</subject> |
||||
<subject authority="lcsh"> |
||||
<topic>Rats</topic> |
||||
<topic>Fiction</topic> |
||||
</subject> |
||||
<subject authority="lcsh"> |
||||
<topic>Cats</topic> |
||||
<topic>Fiction</topic> |
||||
</subject> |
||||
<subject authority="lcsh"> |
||||
<topic>Fantasy fiction</topic> |
||||
</subject> |
||||
<subject authority="lcsh"> |
||||
<topic>Humorous stories</topic> |
||||
</subject> |
||||
<classification authority="lcc">PZ7.P8865 Am 2002</classification> |
||||
<relatedItem> |
||||
<titleInfo> |
||||
<title>Discworld series</title> |
||||
</titleInfo> |
||||
<name type="personal"> |
||||
<namePart>Pratchett, Terry.</namePart> |
||||
</name> |
||||
</relatedItem> |
||||
<identifier type="isbn">006001234X (library binding)</identifier> |
||||
<identifier type="isbn">0385601239</identifier> |
||||
<identifier type="isbn">0552546933 (pbk.)</identifier> |
||||
<recordInfo> |
||||
<recordContentSource authority="marcorg">CaNWHRN</recordContentSource> |
||||
<recordCreationDate encoding="marc">010730</recordCreationDate> |
||||
<recordChangeDate encoding="iso8601">20020314 .0</recordChangeDate> |
||||
<languageOfCataloging> |
||||
<languageTerm authority="iso639-2b" type="code">eng</languageTerm> |
||||
</languageOfCataloging> |
||||
</recordInfo> |
||||
</mods:mods> |
||||
<mods:mods xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.loc.gov/mods/v3" version="3.0" xsi:schemaLocation="http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-0.xsd"> |
||||
<titleInfo> |
||||
<nonSort>The </nonSort> |
||||
<title>amazing Maurice and his educated rodents</title> |
||||
</titleInfo> |
||||
<name type="personal"> |
||||
<namePart>Pratchett, Terry.</namePart> |
||||
<role> |
||||
<roleTerm authority="marcrelator" type="text">creator</roleTerm> |
||||
</role> |
||||
</name> |
||||
<typeOfResource>text</typeOfResource> |
||||
<genre authority="marc">novel</genre> |
||||
<originInfo> |
||||
<place> |
||||
<placeTerm type="code" authority="marccountry">enk</placeTerm> |
||||
</place> |
||||
<place> |
||||
<placeTerm type="text">London</placeTerm> |
||||
</place> |
||||
<publisher>Corgi Books</publisher> |
||||
<dateIssued>2002</dateIssued> |
||||
<dateIssued encoding="marc">2001</dateIssued> |
||||
<issuance>monographic</issuance> |
||||
</originInfo> |
||||
<language> |
||||
<languageTerm authority="iso639-2b" type="code">eng</languageTerm> |
||||
</language> |
||||
<physicalDescription> |
||||
<form authority="marcform">print</form> |
||||
<extent>269 p. ; 22 cm.</extent> |
||||
</physicalDescription> |
||||
<abstract>A talking cat, intelligent rats, and a strange boy cooperate in a Pied Piper scam until they try to con the wrong town and are confronted by a deadly evil rat king.</abstract> |
||||
<targetAudience authority="marctarget">juvenile</targetAudience> |
||||
<note type="statement of responsibility">Terry Pratchett.</note> |
||||
<note>Carnegie Medal winner.</note> |
||||
<subject authority="lcsh"> |
||||
<topic>Discworld (Imaginary place)</topic> |
||||
<topic>Fiction</topic> |
||||
</subject> |
||||
<subject authority="lcsh"> |
||||
<topic>Discworld (Imaginary place)</topic> |
||||
<topic>Fiction</topic> |
||||
</subject> |
||||
<subject authority="lcsh"> |
||||
<topic>Rats</topic> |
||||
<topic>Fiction</topic> |
||||
</subject> |
||||
<subject authority="lcsh"> |
||||
<topic>Cats</topic> |
||||
<topic>Fiction</topic> |
||||
</subject> |
||||
<subject authority="lcsh"> |
||||
<topic>Fantasy fiction</topic> |
||||
</subject> |
||||
<subject authority="lcsh"> |
||||
<topic>Humorous stories</topic> |
||||
</subject> |
||||
<classification authority="lcc">PZ7.P8865 Am 2002</classification> |
||||
<relatedItem> |
||||
<titleInfo> |
||||
<title>Discworld series</title> |
||||
</titleInfo> |
||||
<name type="personal"> |
||||
<namePart>Pratchett, Terry.</namePart> |
||||
</name> |
||||
</relatedItem> |
||||
<identifier type="isbn">006001234X (library binding)</identifier> |
||||
<identifier type="isbn">0385601239</identifier> |
||||
<identifier type="isbn">0552546933 (pbk.)</identifier> |
||||
<recordInfo> |
||||
<recordContentSource authority="marcorg">CaNWHRN</recordContentSource> |
||||
<recordCreationDate encoding="marc">010730</recordCreationDate> |
||||
<recordChangeDate encoding="iso8601">20020314 .0</recordChangeDate> |
||||
<languageOfCataloging> |
||||
<languageTerm authority="iso639-2b" type="code">eng</languageTerm> |
||||
</languageOfCataloging> |
||||
</recordInfo> |
||||
</mods:mods> |
||||
</mods:modsCollection> |
||||
|
||||
|
@ -1,22 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<collection_policy xmlns="http://www.islandora.ca" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="" xsi:schemaLocation="http://www.islandora.ca http://syn.lib.umanitoba.ca/collection_policy.xsd"> |
||||
<content_models> |
||||
<content_model dsid="ISLANDORACM" name="Book" namespace="islandora" pid="ilives:bookCModel"></content_model> |
||||
</content_models> |
||||
<search_terms> |
||||
<term field="dc.title">dc.title</term> |
||||
<term field="dc.creator">dc.creator</term> |
||||
<term default="true" field="dc.description">dc.description</term> |
||||
<term field="dc.date">dc.date</term> |
||||
<term field="dc.identifier">dc.identifier</term> |
||||
<term field="dc.language">dc.language</term> |
||||
<term field="dc.publisher">dc.publisher</term> |
||||
<term field="dc.rights">dc.rights</term> |
||||
<term field="dc.subject">dc.subject</term> |
||||
<term field="dc.relation">dc.relation</term> |
||||
<term field="dcterms.temporal">dcterms.temporal</term> |
||||
<term field="dcterms.spatial">dcterms.spatial</term> |
||||
<term field="fgs.DS.first.text">Full Text</term> |
||||
</search_terms> |
||||
<relationship>isMemberOfCollection</relationship> |
||||
<content_models> |
||||
<content_model dsid="ISLANDORACM" name="Book" namespace="islandora" pid="ilives:bookCModel"></content_model> |
||||
</content_models> |
||||
<search_terms> |
||||
<term field="dc.title">dc.title</term> |
||||
<term field="dc.creator">dc.creator</term> |
||||
<term default="true" field="dc.description">dc.description</term> |
||||
<term field="dc.date">dc.date</term> |
||||
<term field="dc.identifier">dc.identifier</term> |
||||
<term field="dc.language">dc.language</term> |
||||
<term field="dc.publisher">dc.publisher</term> |
||||
<term field="dc.rights">dc.rights</term> |
||||
<term field="dc.subject">dc.subject</term> |
||||
<term field="dc.relation">dc.relation</term> |
||||
<term field="dcterms.temporal">dcterms.temporal</term> |
||||
<term field="dcterms.spatial">dcterms.spatial</term> |
||||
<term field="fgs.DS.first.text">Full Text</term> |
||||
</search_terms> |
||||
<relationship>isMemberOfCollection</relationship> |
||||
</collection_policy> |
File diff suppressed because it is too large
Load Diff
@ -1,20 +1,20 @@
|
||||
|
||||
<content_model name="standard_jpeg"> |
||||
<mimetypes> |
||||
<type>image/jpeg</type> |
||||
</mimetypes> |
||||
<display_in_fieldset> |
||||
<datastream id="JPG"> |
||||
<method> |
||||
<module>fedora_ilives</module> |
||||
<file>image_rotator_tagger_block.inc</file> |
||||
<class_name>ShowILivesStreamsInFieldSets</class_name> |
||||
<method_name>showJPG</method_name> |
||||
</method> |
||||
</datastream> |
||||
<datastream id="JPG"> |
||||
<allowed_mime_type>image/jpeg</allowed_mime_type> |
||||
</datastream> |
||||
</display_in_fieldset> |
||||
<ingest_rules></ingest_rules> |
||||
<mimetypes> |
||||
<type>image/jpeg</type> |
||||
</mimetypes> |
||||
<display_in_fieldset> |
||||
<datastream id="JPG"> |
||||
<method> |
||||
<module>fedora_ilives</module> |
||||
<file>image_rotator_tagger_block.inc</file> |
||||
<class_name>ShowILivesStreamsInFieldSets</class_name> |
||||
<method_name>showJPG</method_name> |
||||
</method> |
||||
</datastream> |
||||
<datastream id="JPG"> |
||||
<allowed_mime_type>image/jpeg</allowed_mime_type> |
||||
</datastream> |
||||
</display_in_fieldset> |
||||
<ingest_rules></ingest_rules> |
||||
</content_model> |
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue