Re: Patch for doctype and faq
Jeff Martin <[email protected]> Fri, 08 Apr 2005 12:28:03 +0100
| Newsgroups | gmane.editors.conglomerate.devel |
|---|---|
| Message-ID | <[email protected]> |
Or maybe this. On Fri, 2005-04-08 at 12:26 +0200, Michèle Garoche wrote: > Sorry, I did not success in making two patches. So here it is with both > changes. > > > Michèle > <http://micmacfr.homeunix.org> > _______________________________________________ Conglomerate-devel mailing list [email protected] http://lists.copyleft.no/mailman/listinfo/conglomerate-devel -- Jeff Martin Memetic Engineer http://www.custommonkey.org/ _______________________________________________ Conglomerate-devel mailing list [email protected] http://lists.copyleft.no/mailman/listinfo/conglomerate-devel
faq-hack.xsl
(text/x-xslt, 588 B)
<?xml version ="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:template match ="qandaset|question|answer">
<xsl:apply-templates />
</xsl:template>
<xsl:template match ="qandaentry|qandadiv">
<section>
<xsl:apply-templates />
</section>
</xsl:template>
<xsl:template match ="question/para">
<title><xsl:apply-templates /></title>
</xsl:template>
<xsl:template match="*">
<xsl:copy>
<xsl:copy-of select="@*"/>
<xsl:apply-templates/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>