Project

General

Profile

1
<!--
2
  * Metacatout.html
3
  *
4
  *      Authors: Jivka Bojilova
5
  *    Copyright: 2000 Regents of the University of California and the
6
  *               National Center for Ecological Analysis and Synthesis
7
  *  For Details: http://www.nceas.ucsb.edu/
8
  *      Created: 2000 April 5
9
  *      Version: 0.01
10
  *    File Info: '$Id: metacatout.html 878 2001-12-18 18:11:42Z berkley $'
11
  * 
12
  * October Meeting SDSC, 2000
13
-->
14
<HTML>
15
<HEAD>
16
<TITLE>Metacat</TITLE>
17
<link rel="stylesheet" type="text/css" href="@docrooturl@default.css">
18
</HEAD> 
19
<BODY>
20
  <table width="100%">
21
    <tr>
22
      <td class="tablehead" colspan="2"><p class="label">Output Transformations</p></td>
23
      <td class="tablehead" colspan="2" align="right">
24
        <a href="./acontrol.html">Back</a> | <a href="./metacattour.html">Home</a> | 
25
        <a href="./metacatapi.html">Next</a>
26
      </td>
27
    </tr>
28
  </table>
29
  <p>Metacat uses XML for data exchange between the client application and 
30
  the server.</p>
31
  
32
  <p>XSLT is used for transformations for visual presentation (e.g. XML->HTML). 
33
  It can also be used to tranlate between different types of heterogeneous XML documents 
34
  which are symantically similar.</p>
35
  
36
  <img src="xmltransform.gif">
37
  
38
  <p>Metacat can be set on the fly to either transform or not transform a resultset
39
  from XML.  This is achieved by setting the 'qformat' servlet parameter to 'html'
40
  or 'xml'.  When qformat is set to html, Metacat will transform the resultset based 
41
  on the stylesheet specified in the resultStyleURL of the 
42
  <a href="./properties.html">Metacat Properties</a> file.  This XSL stylesheet
43
  defines the rules for how to translate the XML tags into HTML tags.  
44
  </p>
45
  <p>A user can specify that a certain doctype is always transformed using a 
46
  specific stylesheet by registering that stylesheet in the Metacat Catalog.  
47
  The Catalog is stored in the database table xml_catalog and contains a
48
  list of doctypes and the stylesheets used to transform them.  If a doctype 
49
  has an assigned stylesheet, whenever a document of that type is "read" from 
50
  Metacat and qformat is set to HTML, the document will be transformed using
51
  the assigned stylesheet.
52
  </p>
53
  
54
  <br>
55
  <a href="./acontrol.html">Back</a> | <a href="./metacattour.html">Home</a> | 
56
  <a href="./metacatapi.html">Next</a>
57
  
58
</BODY>
59
</HTML>
60

    
(25-25/45)