<!---->
<
xsl:
stylesheet xmlns:xsl="
http://www.w3.org/1999/XSL/Transform"
xmlns:xs="
http://www.w3.org/2001/XMLSchema"
xmlns:tps="
http://www.typefi.com/ContentXML"
xmlns:xd="
http://www.pnp-software.com/XSLTdoc"
version="
2.0"
exclude-result-prefixes="
#all">
<
xd:
doc type="
stylesheet">
<
xd:
short>
Contains templates for special processing of quotes and their contents.
</
xd:
short>
<
xd:
cvsId>
$Revision$</
xd:
cvsId>
</
xd:
doc>
<
xsl:
template match="
disp-quote">
<
xsl:
apply-templates select="
element() except label" />
</
xsl:
template>
<
xsl:
template match="
disp-quote/label">
<
xsl:
apply-templates />
<
xsl:
text>
. </
xsl:
text>
</
xsl:
template>
<
xsl:
template match="
disp-quote/title">
<
tps:
p type="
{$disp-quote.title.para.type}">
<
xsl:
apply-templates select="
../label" />
<
xsl:
apply-templates />
</
tps:
p>
</
xsl:
template>
<
xsl:
template match="
disp-quote[count(p) eq 1]/p"
priority="
20">
<
tps:
p type="
{$disp-quote.p.single.para.type}">
<
xsl:
apply-templates />
</
tps:
p>
</
xsl:
template>
<
xsl:
template match="
disp-quote/p[1]"
priority="
10">
<
tps:
p type="
{$disp-quote.p.first.para.type}">
<
xsl:
apply-templates />
</
tps:
p>
</
xsl:
template>
<
xsl:
template match="
disp-quote/p[last()]"
priority="
10">
<
tps:
p type="
{$disp-quote.p.last.para.type}">
<
xsl:
apply-templates />
</
tps:
p>
</
xsl:
template>
<
xsl:
template match="
disp-quote/p">
<
tps:
p type="
{$disp-quote.p.para.type}">
<
xsl:
apply-templates />
</
tps:
p>
</
xsl:
template>
<
xsl:
template match="
disp-quote/attrib">
<
tps:
p type="
{$disp-quote.attrib.para.type}">
<
xsl:
apply-templates />
</
tps:
p>
</
xsl:
template>
</
xsl:
stylesheet>
v