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>
...
)

markus



Reply via email to