Revision 881
Added by berkley about 23 years ago
metacatout.html | ||
---|---|---|
36 | 36 |
<img src="xmltransform.gif"> |
37 | 37 |
|
38 | 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' |
|
39 |
from XML. This is achieved by setting the 'qformat' servlet parameter to the name |
|
40 |
of a <a href="metacatread.html">style-set</a> or to 'html' |
|
40 | 41 |
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
|
|
42 |
on the default style-set configured in the
|
|
43 |
<a href="./properties.html">Metacat Properties</a> file. This style-set
|
|
43 | 44 |
defines the rules for how to translate the XML tags into HTML tags. |
44 | 45 |
</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 | 46 |
|
54 | 47 |
<br> |
55 |
<a href="./acontrol.html">Back</a> | <a href="./metacattour.html">Home</a> |
|
|
48 |
<a href="./ldap.html">Back</a> | <a href="./metacattour.html">Home</a> |
|
|
56 | 49 |
<a href="./metacatapi.html">Next</a> |
57 | 50 |
|
58 | 51 |
</BODY> |
Also available in: Unified diff
updated documentation. removed a lot of typos and updated all of the new stuff for the new release