logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: Converting HTML to Docbook: msg#00642

Subject: Re: Converting HTML to Docbook
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 />     tbd

this 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


--
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>