demo-objects.mets.local-server-demos.document-transform-demo.obj-document-fedoraAPIA.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fcrepo-client Show documentation
Show all versions of fcrepo-client Show documentation
The Fedora Client is a Java Library that allows API access to a Fedora Repository. The client is typically one part of a full Fedora installation.
The newest version!
<?xml version="1.0" encoding="UTF-8"?> <!---************************************************************************--> <!-- SAMPLE FEDORA DIGITAL OBJECT ENCODED USING METS --> <!-- Creator: Sandy Payette --> <!-- Custodian: NSDL --> <!---************************************************************************--> <METS:mets xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:METS="http://www.loc.gov/METS/" xmlns:fedoraAudit="http://fedora.comm.nsdlib.org/audit" xmlns:xlink="http://www.w3.org/TR/xlink" xsi:schemaLocation="http://www.loc.gov/standards/METS/ http://www.fedora.info/definitions/1/0/mets-fedora-ext.xsd" OBJID="demo:14" TYPE="FedoraObject" LABEL="Sample Document Object (XML to HTML)" PROFILE="XML_TO_HTMLDOC"> <METS:metsHdr> <METS:agent ROLE="IPOWNER"> <METS:name>fedoraAdmin</METS:name> </METS:agent> </METS:metsHdr> <!---*******************************************************************************************************************************************--> <!---User-Defined XML METADATA DATASTREAMS--> <!---*******************************************************************************************************************************************--> <METS:dmdSecFedora ID="DC" STATUS="A"> <METS:descMD ID="DC1.0"> <METS:mdWrap MIMETYPE="text/xml" MDTYPE="OTHER" LABEL="Dublin Core for the Document object"> <METS:xmlData> <!-- This schema described at http://www.openarchives.org/OAI/openarchivesprotocol.html#dublincore --> <!-- TED, make up some metadata to describe the exhibit object. Insert in elements below --> <oai_dc:dc xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:dc="http://purl.org/dc/elements/1.1/"> <dc:title>Web Service Definition for the Fedora Access Service</dc:title> <dc:creator>Sandy Payette</dc:creator> <dc:subject>Fedora</dc:subject> <dc:subject>documentation</dc:subject> <dc:subject>web service</dc:subject> <dc:subject>Web Services Description Language (WSDL)</dc:subject> <dc:description>This object contains a WSDL description of the Fedora Access web service which can be viewed in two document formats.</dc:description> <dc:identifier>demo:14</dc:identifier> <dc:relation>http://www.fedora.info</dc:relation> <dc:rights>unrestricted</dc:rights> </oai_dc:dc> </METS:xmlData> </METS:mdWrap> </METS:descMD> </METS:dmdSecFedora> <!---*******************************************************************************************************************************************--> <!--- DATASTREAMS: EXTERNAL-REFERENCED CONTENT and REPOSITORY-MANAGED CONTENT--> <!---*******************************************************************************************************************************************--> <METS:fileSec> <METS:fileGrp ID="DATASTREAMS"> <METS:fileGrp ID="DS1" STATUS="A"> <!--exhibit xml file --> <METS:file ID="DS1.0" MIMETYPE="text/xml" OWNERID="M" STATUS="A"> <METS:FLocat LOCTYPE="URL" xlink:href="http://localhost:8080/fedora-demo/document-transform-demo/Fedora-API-A.wsdl" xlink:title="XML source for Fedora Access Web Service Definition (WSDL)"/> </METS:file> </METS:fileGrp> <METS:fileGrp ID="DS2" STATUS="A"> <!--elly's exhibit stylesheet file --> <METS:file ID="DS2.0" MIMETYPE="text/xml" OWNERID="M" STATUS="A"> <METS:FLocat LOCTYPE="URL" xlink:href="http://localhost:8080/fedora-demo/document-transform-demo/wsdlToAPIDoc.xsl" xlink:title="XSL Stylesheet to transform WSDL to HTML"/> </METS:file> </METS:fileGrp> <METS:fileGrp ID="DS3" STATUS="A"> <!--ted's exhibit stylesheet file --> <METS:file ID="DS3.0" MIMETYPE="text/xml" OWNERID="M" STATUS="A"> <!--TED, insert your own URL below. I just repeated the URL for Elly's stylesheet to fill things in --> <METS:FLocat LOCTYPE="URL" xlink:href="http://localhost:8080/fedora-demo/document-transform-demo/wsdlToSummaryTbl.xsl" xlink:title="Alt. XSL Stylesheet to transform WSDL to HTML"/> </METS:file> </METS:fileGrp> </METS:fileGrp> </METS:fileSec> <!---*******************************************************************************************************************************************--> <!--- FEDORA DATASTREAM BINDING MAPS --> <!-- In Fedora the METS structure maps are associated with the DISSEMINATOR mechanisms (see METS:behaviorSec).--> <!---*******************************************************************************************************************************************--> <METS:structMap ID="S1" TYPE="fedora:dsBindingMap"> <METS:div TYPE="demo:13" LABEL="DS Binding Map for xslt transform mechanism"> <METS:div TYPE="XML_SOURCE" LABEL="XML Source file to be transformed" ORDER="0"> <METS:fptr FILEID="DS1"/> </METS:div> <METS:div TYPE="XSL_STYLESHEET1" LABEL="Stylesheet 1" ORDER="0"> <METS:fptr FILEID="DS2"/> </METS:div> <METS:div TYPE="XSL_STYLESHEET2" LABEL="Stylesheet 2" ORDER="0"> <METS:fptr FILEID="DS3"/> </METS:div> </METS:div> </METS:structMap> <!---*******************************************************************************************************************************************--> <!--- DISSEMINATORS--> <!-- A disseminator provides a "behavior-centric" view of the object. It has an attribute STRUCTID --> <!-- which is an IDREF to a mechanism-specific structMap. The structMap labels datastreams in --> <!-- a manner that is understood by the mechanism defined in the disseminator. --> <!-- --> <!---*******************************************************************************************************************************************--> <!--- THE NSDL EXHIBIT DISSEMINATOR --> <!---*******************************************************************************************************************************************--> <METS:behaviorSec ID="DISS1" STATUS="A"> <METS:serviceBinding ID="DISS1.0" STRUCTID="S1" BTYPE="demo:12" LABEL="NSDL Exhibit Disseminator"> <!-- Use xlink to point to a Fedora Behavior Definition object which is stored as a separate METS object.--> <!--The Behavior Definition object stores WSDL interface descriptions that formally define the set methods to which --> <!-- the disseminator subscribes --> <METS:interfaceMD LABEL="Document Transform Behavior Definition" LOCTYPE="URN" xlink:href="demo:12"/> <!--Use xlink to point to the Behavior Mechanism object which will be stored as a separate METS object.--> <!--The Behavior Mechanism object stores WSDL bindings to run methods described in Behavior Definition object.--> <METS:serviceBindMD LABEL="Fedora Local Saxon Service Transformation Mechanism" LOCTYPE="URN" xlink:href="demo:13"/> </METS:serviceBinding> </METS:behaviorSec> </METS:mets>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy