On 5/4/07, Richard A. Quadling <[EMAIL PROTECTED]> wrote:
> -----Original Message-----
> From: Hannes Magnusson [mailto:[EMAIL PROTECTED]
> Sent: 04 May 2007 13:03
> To: Richard A. Quadling
> Cc: phpdoc@lists.php.net
> Subject: Re: [PHP-DOC] How do I run a make for a single file
> in phpdoc?
>
> On 5/4/07, Richard A. Quadling <[EMAIL PROTECTED]> wrote:
> > Dozy me forgot how to run/build a single file in PHPdoc. Help?
>
> xsltproc --stringparam rootid "filename.id"
> phpbook/phpbook-xsl/phpweb.xsl manual.xml
>
> This however will build recursive, so if the "filename.id" is
> a reference page the complete reference page and all its
> functions are built.
>
> -Hannes
>
Filename.id ... Just filename? Path to file?
Neither. The *ID* of the file.
For functions: <refentry id="...." />
References: <reference id="..." />
Its usually the third line in the file...
To build the complete simplexml section:
xsltproc --stringparam rootid "ref.simplexml"
phpbook/phpbook-xsl/phpweb.xsl manual.xml
To build only strpos() manual page:
xsltproc --stringparam rootid "function.strpos"
phpbook/phpbook-xsl/phpweb.xsl manual.xml
-Hannes