Difference between revisions of "Category:XSLT"

From TEIWiki
Jump to navigation Jump to search
Line 7: Line 7:
 
----
 
----
 
'''To contribute a stylesheet, please create a new page within this category. To do this, you should:'''
 
'''To contribute a stylesheet, please create a new page within this category. To do this, you should:'''
* Create a user account for this WIKI if you have not done so.
+
* Log in (Create a user account for this WIKI if you have not done so.)
* Log in
 
 
* Add a new page.  
 
* Add a new page.  
**To do this, simply add to the main url the pagename you wish to create:
+
** To do this, add the name of the new page to the URL in your browsers address bar after index.php/
** For example: <nowiki>http://www.tei-c.org.uk/wiki/index.php/MyNewStylesheet.xsl</nowiki>
+
** For example, if you wish to create a new page called "MyNewStylesheet.xsl", just edit the URL in your browswer to look like this:
* Edit the page, making sure to:
+
<nowiki>http://www.tei-c.org.uk/wiki/index.php/MyNewStylesheet.xsl</nowiki>
 +
* Edit the page.
 +
** Assuming no one else has made a page with the name you chose, you will be brought to a blank page:
 
** Provide some accompanying explanation at the top of the page
 
** Provide some accompanying explanation at the top of the page
 
** Wrap any stylesheet content in <nowiki><pre> .... </pre></nowiki> tags
 
** Wrap any stylesheet content in <nowiki><pre> .... </pre></nowiki> tags
** Add <nowiki>[[Category:XSLT]]</nowiki> to the bottom of it.
+
** Add the text <nowiki>"[[Category:XSLT]]"</nowiki> to the bottom of the page. This ensures that your page will show up on the XSLT page.
  
 
A [[SampleXSLTPage]] displays the original text for the [[Remove-Namespaces.xsl]] page, and may provide a useful reference.
 
A [[SampleXSLTPage]] displays the original text for the [[Remove-Namespaces.xsl]] page, and may provide a useful reference.

Revision as of 21:45, 20 April 2005

This page collects together any pages relating to XSLT (Extensible Stylesheet Language Transformations) for TEI resources. The main TEI website has a page about stylesheets as well.

All of the stylesheets posted here are freely available for public use. They are offered as is, and we make no guarantees about their usefulness or effectiveness. Please feel free to experiment with them. If you make any useful revisions, please post the modified version here.

The call for stylesheets includes more details about what we are seeking and how you can help.


To contribute a stylesheet, please create a new page within this category. To do this, you should:

  • Log in (Create a user account for this WIKI if you have not done so.)
  • Add a new page.
    • To do this, add the name of the new page to the URL in your browsers address bar after index.php/
    • For example, if you wish to create a new page called "MyNewStylesheet.xsl", just edit the URL in your browswer to look like this:

http://www.tei-c.org.uk/wiki/index.php/MyNewStylesheet.xsl

  • Edit the page.
    • Assuming no one else has made a page with the name you chose, you will be brought to a blank page:
    • Provide some accompanying explanation at the top of the page
    • Wrap any stylesheet content in <pre> .... </pre> tags
    • Add the text "[[Category:XSLT]]" to the bottom of the page. This ensures that your page will show up on the XSLT page.

A SampleXSLTPage displays the original text for the Remove-Namespaces.xsl page, and may provide a useful reference.