Difference between revisions of "Category:XML Configuration"

From EPrints Documentation
Jump to: navigation, search
(Created page with '{{formats}} There are several different kind of XML file in the configuration of an EPrints repository. These files tend to use three XML namespaces. * Their own specific names…')
 
(No difference)

Latest revision as of 18:43, 13 March 2010

EPrints 3 Reference: Directory Structure - Metadata Fields - Repository Configuration - XML Config Files - XML Export Format - EPrints data structure - Core API - Data Objects


XML Configuration: EPScript - Control Format (EPC) - Citation - Workflow - Phrase - Template - XPAGE (static pages)

There are several different kind of XML file in the configuration of an EPrints repository.

These files tend to use three XML namespaces.

  • Their own specific namespace.
  • The EPC namespace.
  • The XHTML namespace.

The default namespace is sometimes set to be XHTML, rather than their own. This is because we think it looks really odd having XHTML elements with a namespace. eg. <xhtml:a href="http://totl.net"><xhtml:img src="fish.jpg" /></xhtml:a> ... looks wrong!

The EPC namespace elements are dynamically resolved each time the file is used. This allows values to be inserted from the main configuration values and phrases for the current language. It also allows certain parts to made conditional. It's really handy to be able to say "this bit of the workflow only applies if the current user is in research group X".

Subcategories

This category has only the following subcategory.