On 20 April 2016 at 15:30, Jürgen Purtz <[email protected]> wrote:
--What I have done so far is:
- Conversion of sgml files to valid xml syntax with a perl skript. I failed to use 'osx' or 'spam'.
- Conversion of these xml files to Docbook5.x format using xsltproc and Docbooks xslt-migration skripts.
- Creation of html files using xsltproc and Docbooks xslt skripts.
- Creation of fo files using xsltproc and Docbooks xslt skripts.
- Creation of pdf files using fop.
- The conversions needs less than 10 minutes on a Intel i5 processor.
So you believe you have/can convert between the two formats accurately, so we can change things in a single commit?
What verification is offered? Possible?
And that is ready to go now? Will you post your perl script, or the patch? Other projects use the same file formats, e.g. Slony, XL etc
If an automatic migration is possible do we need to change at all?
Simon Riggs http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Hello Jürgen,
Please look at the discussion that we had some time ago:
http://www.postgresql.org/message-id/[email protected]
And we (postgrespro) still have plans to migrate to XML as soon as we get documentation translated.
We had no issues with SGML->XML conversion, "make postgres.xml" creates XML (with entities and alike), which we use.
When you talking about "conversion of html, fo, pdf, ..." do you mean using docs/sgml/Makefile or some other scripts?
As to conversion SGML to XML, we need to decide whether to generate a single XML, or a set of XMLs (corresponding to current SGMLs).
In the latter case - how to include XML-fragments into the main document (as entities or with xi:include)?
Please, can you explain what are "Docbooks xslt-migration scripts"?
Is Docbook 4.x incompatible with Docbook 5.x and we need to convert it additionally?
Best regards,
Alexander
-----
Alexander Lakhin
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company
My answers: