Jump to content
Wiki Home
EPrints Home
Bazaar
Files
Main menu
Main menu
move to sidebar
hide
Navigation
Front Page
EPrints 3 Manual
EPrints Training Course
EPrints Glossary
Installing EPrints
How-to Configure EPrints
EPrints 3.2+ API
EPrints 3 Reference
EPrints Plugins
Wiki
All categories
Recent changes
Main Page
Help
EPrints Documentation
Search
Search
Appearance
Log in
Request account
Personal tools
Log in
Request account
Pages for logged out editors
learn more
Contributions
Talk
Editing
Repository configuration
(section)
Page
Discussion
British English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===XHTML=== These files use HTML elements (and other elements too). XHTML is a fairly new version of HTML which is backwards compatable with HTML 4 but written using XML, not SGML. This means that it is much stricter but less ambiguous and easier to parse and modify. Assuming you know HTML, the main differences are as follows: ; All tags must be closed : All elements must be closed, even ones such as <li>. Tags which do not have a close tag in HTML, like <tt><br></tt> or <tt><img src="foo"></tt> still must be closed eg. <tt><img src="foo"></img></tt> - this can be abbreviated as: <tt> <img src="foo" /></tt> ; All tags and attributes must be lower case : Self explanitary. ; Strict definition of what tags may appear within others : Not actually checked by EPrints. It will let any rubbish past as long as it's valid XML. But that's no reason to be naughty. ; All attributes must be wrapped in quotes : In HTML the values of attributes do not have to be wrapped in quotes, but in XML (and therefore XHTML) they do. ; All attributes must have a value : In HTML some attribues do not require a value, for example <tt><hr noshade></tt> In XHTML it is represented as <tt> <hr noshade="noshade" /> </tt> So in summary, the HTML: <code> <img SRC=someurl> <hr NOSHADE WIDTH=2> <P>Foo bar</P> </code> should become in XHTML: <code> <img src="someurl" /> <hr noshade="noshade" width="2" /> <p>Foo bar</p> </code> And that's more or less it. See http://www.w3c.org/ for a complete description.
Summary:
Please note that all contributions to EPrints Documentation may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
EPrints Documentation:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)