1773
|
1 <?xml version="1.0" encoding="utf-8"?>
|
|
2 <!-- Copyright 2004 by Laszlo Systems, Inc.
|
|
3 Released under the Artistic License.
|
|
4 Written by Oliver Steele.
|
|
5 http://osteele.com/sources/xslt/htm2db/
|
|
6
|
|
7 This is an minimal embedding stylesheet. Make a copy of
|
|
8 this file and customize it with parameter definitions and
|
|
9 template overrides to customize the transformation.
|
|
10 See example.xsl for an example.
|
|
11 -->
|
|
12 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
13 xmlns:h="http://www.w3.org/1999/xhtml"
|
|
14 exclude-result-prefixes="h"
|
|
15 version="1.0">
|
|
16
|
|
17 <xsl:import href="html2db.xsl"/>
|
|
18
|
|
19 <xsl:template match="h:div[@class='abstract']">
|
|
20 <abstract>
|
|
21 <xsl:apply-templates/>
|
|
22 </abstract>
|
|
23 </xsl:template>
|
|
24
|
|
25 <xsl:template match="h:p[@class='note']">
|
|
26 <note>
|
|
27 <para>
|
|
28 <xsl:apply-templates/>
|
|
29 </para>
|
|
30 </note>
|
|
31 </xsl:template>
|
|
32
|
|
33 <xsl:template match="h:pre[@class='example']">
|
|
34 <informalexample>
|
|
35 <xsl:apply-imports/>
|
|
36 </informalexample>
|
|
37 </xsl:template>
|
|
38
|
|
39 </xsl:stylesheet>
|