⧼vector-jumptocontent⧽

XML Configuration: Difference between revisions

From EPrints Documentation
No edit summary
 
No edit summary
Line 9: Line 9:
* The XHTML 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 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. <nowiki><xhtml:a href="http://totl.net"><xhtml:img src="fish.jpg" /></xhtml:a></nowiki> ... looks wrong!

Revision as of 17:40, 10 January 2007

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!