This is the mail archive of the docbook-tools-discuss@sources.redhat.com mailing list for the docbook-tools project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: SGML beautifier?


/ 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/            | 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]