Need help to commit a standalone docbook into peardoc repository
| From: | Laurent Laville | Date: | Thu, 16 Nov 2006 07:07:59 +0000 |
| Subject: | Need help to commit a standalone docbook into peardoc repository | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-8808@lists.php.net to get a copy of this message | ||
Hi all,
I've wrote a standalone user guide fo PEAR_PackageFileManager in DocBook format. On suggestions of Martin Jansen, Gregory Beaver who want it into pear manual, I requires help .
If someone (windows user, because it's my platform) could explain me how to do, I'll appreciated a lot.
BTW, I've a question related to what I've recently used on my standalone manual and think it's perharps incompatible with PEAR manual.
I used "inserting external html code" solution provides by DocBook XSL: The Complete Guide [1] to include all my PHP source code syntax hilighting.
Here is a sample :
DocBook
<informalexample>
<?htmlcode en/tutorial/lesson3_ex1_1.html ?>
</informalexample>
XSLT stylesheet
<xsl:template match="processing-instruction('htmlcode')">
<xsl:variable name="codefile" select="document(normalize-space(.),/)"/>
<xsl:copy-of select="$codefile/*/node()"/>
</xsl:template>
regards
Laurent
[1] http://www.sagehill.net/docbookxsl/InsertExtHtml.html