SGML beautifier?

Norman Walsh ndw@nwalsh.com
Fri Dec 20 19:23:00 GMT 2002


/ Hugo van der Kooij <hvdkooij@vanderkooij.org> was heard to say:
| Is there a way to reformat (and indent correctly) an existing DocBook SGML 
| document?
[...]
| Any suggestions?

Proceed with caution. As a general rule, you cannot pretty-print an
SGML or XML document without knowing the schema (lowercase S)
associated with it. That's because the significance of whitespace is
not apparent from the tags along, only from the content models.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | Time wounds all heels.
http://nwalsh.com/            | 



More information about the Docbook-tools-discuss mailing list