1 |
56
|
bojilova
|
<HTML>
|
2 |
|
|
<HEAD>
|
3 |
|
|
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
|
4 |
|
|
<META NAME="Generator" CONTENT="Microsoft Word 97">
|
5 |
|
|
<TITLE>XSL Transformation and formatting examples</TITLE>
|
6 |
|
|
</HEAD>
|
7 |
|
|
<BODY LINK="#0000ff" VLINK="#800080" BGCOLOR="#ffffff">
|
8 |
|
|
|
9 |
|
|
<P><!--
|
10 |
34
|
jones
|
* contents.html
|
11 |
|
|
*
|
12 |
|
|
* Authors: Matt Jones
|
13 |
|
|
* Copyright: 2000 Regents of the University of California and the
|
14 |
|
|
* National Center for Ecological Analysis and Synthesis
|
15 |
|
|
* For Details: http://www.nceas.ucsb.edu/
|
16 |
|
|
* Created: 2000 April 5
|
17 |
|
|
* Version: 0.01
|
18 |
|
|
* File Info: '$Id$'
|
19 |
|
|
*
|
20 |
|
|
* This is an HTML document for displaying examples of the use of
|
21 |
|
|
* Oracle XML tools
|
22 |
56
|
bojilova
|
--><B>XSL Transformation and formatting examples -- Oracle tools
|
23 |
|
|
<P>Example 1</B><BR>
|
24 |
|
|
Simple database query against Oracle8i</P>
|
25 |
|
|
|
26 |
34
|
jones
|
<UL>
|
27 |
56
|
bojilova
|
<LI>View <A HREF="xmltest2.xsql">XSL transformed html output</A> </LI>
|
28 |
|
|
<LI>View <A HREF="xmltest2.xsql?xml-stylesheet=none">raw xml output</A> </LI>
|
29 |
|
|
<LI>View <A HREF="xmltest2-xsql.xml">XSQL source</A> </LI>
|
30 |
|
|
<LI>View <A HREF="rowcol.xsl">XSL source</A> </LI></UL>
|
31 |
|
|
|
32 |
|
|
<B><P>Example 2</B><BR>
|
33 |
|
|
Simple eml-dataset display from Oracle8i database</P>
|
34 |
|
|
<I><P>Note: these examples are not actually valid according to eml-dataset.dtd, but they are close and I am working on it...</P>
|
35 |
|
|
|
36 |
34
|
jones
|
<UL>
|
37 |
56
|
bojilova
|
</I><LI>View <A HREF="dsquery.xsql">Dynamic query (html output)</A> </LI>
|
38 |
|
|
<LI>View <A HREF="dsquery.xsql?xml-stylesheet=none">Dynamic query (raw xml output)</A> </LI>
|
39 |
|
|
<LI>View <A HREF="dsquery-xsql.xml">Dynamic query (XSQL source)</A> </LI>
|
40 |
|
|
<LI>View <A HREF="dsquery.xsl">Dynamic query (XSL source)</A> </LI>
|
41 |
|
|
<LI>View <A HREF="eml-dataset2.xsql?meta_file_id=NCEAS-1998-2244-Dist-Dataset">XSL transformed html output</A> </LI>
|
42 |
|
|
<LI>View <A HREF="eml-dataset1.xsql?meta_file_id=NCEAS-1998-2244-Dist-Dataset">transformed xml output</A> </LI>
|
43 |
|
|
<LI>View <A HREF="eml-dataset1.xsql?meta_file_id=NCEAS-1998-2244-Dist-Dataset&xml-stylesheet=none">raw xml output</A> </LI>
|
44 |
|
|
<LI>View <A HREF="eml-dataset1-xsql.xml">XSQL source</A> </LI>
|
45 |
|
|
<LI>View <A HREF="eml-dataset.xsl">XSL source (XML to XML)</A> </LI>
|
46 |
|
|
<LI>View <A HREF="eml-dataset-display.xsl">XSL source (XML to HTML)</A> </LI></UL>
|
47 |
|
|
|
48 |
|
|
<B><P>Example 3</B><BR>
|
49 |
|
|
Simple eml-variable display from static text file</P>
|
50 |
|
|
|
51 |
41
|
jones
|
<UL>
|
52 |
56
|
bojilova
|
<LI>View <A HREF="eml-variable2.xsql">eml-variable display (html output)</A> </LI>
|
53 |
|
|
<LI>View <A HREF="eml-variable2.xsql?xml-stylesheet=none">eml-variable display (raw xml output)</A> </LI>
|
54 |
|
|
<LI>View <A HREF="eml-variable-display.xsl">eml-variable display (XSL source)</A> </LI></UL>
|
55 |
|
|
|
56 |
|
|
<B><P>Example 4</B><BR>
|
57 |
|
|
Simple eml-file display from static text file</P>
|
58 |
|
|
|
59 |
|
|
<UL>
|
60 |
|
|
<LI>View <A HREF="eml-file2.xsql">eml-file display (html output)</A> </LI>
|
61 |
|
|
<LI>View <A HREF="eml-file2.xsql?xml-stylesheet=none">eml-file display (raw xml output)</A> </LI>
|
62 |
|
|
<LI>View <A HREF="eml-file-display.xsl">eml-file display (XSL source)</A> </LI></UL>
|
63 |
|
|
|
64 |
|
|
</BODY>
|
65 |
|
|
</HTML>
|