[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: DOCBOOK-APPS: writing a condensed form of docbook
On Mon, 17 Feb 2003, Markus Spath wrote: > Robert P. J. Day wrote: > > > > i like to write my documents and manuals in condensed > > form, and it would be nice to quickly to go from that to > > final docbook. > > > > Since you stay with the xml-syntax anyway I'd say XSLT would be a convenient > way; all you need is a styl3sheet containing an identity template and templates > matching your abbreviations > > ( > <xsl:template match="@* | node()"> > <xsl:copy><xsl:apply-templates select="@* | node()" /></xsl:copy> > </xsl:template> > > <xsl:template match="li"> > <listitem><para><xsl:apply-templates /></para></listitem> > </xsl:template> > ... > ) dang. why didn't *i* think of that? thanks. rday
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC