At Sat, 26 Jul 2003 08:27:10 +1000, Sonia Hamilton wrote: > I'm starting to write my documention in DocBook SGML. Are there any > tools that format/layout my SGML? > > I don't mean tools that convert SGML to HTML etc (for that I obviously > use Jade). I'm looking for something similar to the C code pretty > printers that layout my messy SGML so it's easier to work with.
emacs' psgml-mode is a comprehensive sgml editor (understands DTD and does validation, context-sensitive tag completion, etc). of course, you also have all the other standard emacs editing features available - including auto-(re)indenting and source highlighting. (even if you don't otherwise use emacs, i do suggest you try psgml-mode - it really is good) in xemacs, you should be able to just open a .sgml file - in fsf emacs, you may have to install psgml separately. > I've googled - all I keep finding is SGML to 'format foo' converters... > I know that long term I could write my own DSSSL, but I'll try walking > before I get to running :) if i understand your question above, DSSSL isn't what you're looking for. DSSSL converts SGML into other things (including other SGML) - much like XSL-FO/XSLT (not surprising, since these were invented as a simplified form of DSSSL). -- - Gus -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
