Re: Converting HTML to Docbook
| From: | Wolfram Kriesing | Date: | Mon, 29 Jul 2002 13:55:19 +0000 |
| Subject: | Re: Converting HTML to Docbook | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-8065@lists.php.net to get a copy of this message | ||
Martin Jansen wrote:
Hi, the following text describes my plans for HTML2Docbook converter for PEAR. A programmer can use some very basic HTML tags in order to create his documentation for the package. This tags are: * <h1 /> * <h2 /> * <p /> * <code /> * <tt /> * <a />what do you think of doing it a little more global, which would also work with the openoffice-xml tags where the tags u mentioned could also match as follows:
* <h1 /> => <text:h text:style-name="Heading 1" text:level="1"> * <h2 /> => <text:h text:style-name="Heading 2" text:level="2"> * <p /> => <text:p text:style-name="Text body"> * <code /> => <text:? text:style-name="code"> * <tt /> tbd * <a /> tbdthis way we would only need to provide a OpenOffice-template with the given styles (may be named alike the HTML tags) and that's it -- Wolfram ... translating template engine .... http://sf.net/projects/simpletpl ... authentication system .... http://sf.net/projects/auth