Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
×
The Internet

WYSIWYG Editor for DocBook DTD Content? 51

Saqib Ali asks: "This week I saw a demo of the Tagless Editor by i4i. The editor is a plugin to Microsoft Word, which can be used to create XML based content. The plugin can handle various custom DTDs. However it can not properly handle the DocBook DTD. I was wondering if there is any WYSIWYG XML editor that can be used to edit DocBook DTD based content? Any ideas?"
This discussion has been archived. No new comments can be posted.

WYSIWYG Editor for DocBook DTD Content?

Comments Filter:
  • Conglomerate, maybe? (Score:4, Informative)

    by DeadMoose ( 518744 ) on Sunday November 24, 2002 @08:26PM (#4746973)

    I was looking for the same thing not too long ago, and came across Conglomerate [conglomerate.org], which despite its web page, is no longer dead, and back under development.

    I've had a few problems getting it compiled/running well, but from what I've seen, it looks like it's a fairly decent bit of code, so once it gets some polish, it could be pretty handy.

  • have you tried (Score:5, Informative)

    by Hubert_Shrump ( 256081 ) <cobranet@@@gmail...com> on Sunday November 24, 2002 @08:41PM (#4747091) Journal
    LyX [lyx.org]? I know it's not a true WYSIWYG, but it does have a DocBook mode. I haven't tried it in awhile (went back to xemacs), but it might have all sorts of new goodies.

  • by Papineau ( 527159 ) on Sunday November 24, 2002 @08:55PM (#4747174) Homepage

    The only problem I see is that Docbook doesn't have a visual representation, it has many, depending on the backend you want (HTML, PDF, PS, TXT, etc.). So a WYSIWYG editor would only show one type of representation.

    Besides, Docbook (as many other document formats) is meant to separate the visual from the info. Linking the visual to the edition would only make people try to make it present the info in (what they beleive to be) pretty layout, when Docbook's goal is to concentrate on the structure of the document, which the backend then translates to HTML tags, or PDF fonts and layout, etc.

    • Structured Editor (Score:5, Insightful)

      by Crutcher ( 24607 ) on Sunday November 24, 2002 @09:19PM (#4747337) Homepage
      I agree, you don't really want a WYSIWYG editor for docbook, as that violates the Information/Representation sepperation.

      But what would be _really_ useful would be a structured editor, which provided a good mapping at several levels (ala Mozilla's composer, where I can turn on and off tabs). The point of such an editor's representation would not be for final production, but to unambigously display the information's _structure_ to the user, and to facilitate manipulating that structure.

      It would be like a very ugly word processor, where the tables would always have borders, etc.

      If that editor was then linked with a set of generation tools, to make it EASY to genearte and view PostScript, HTML, XHTML, etc. productions, then you'd really have something. I'd use it, for sure, and I don't mind using docbook tags now.

      In fact, would mozilla's composer be a good place to start with a docbook editor? Mozilla has good DOM tools, like the inspector, which loads XML DocBook files just fine.
    • Take a look at http://www.i4i.com 's Tagless Editor
    • by booch ( 4157 )
      When talking about semantic structured documents (like DocBook) it's true that WYSIWYG really doesn't have any meaning. But when someone asks for a WYSIWYG editor for such a document type, they really want something that shows a representation of the semantics. In other words, the tags themselves don't appear. Instead, the tags are used to apply (user-definable) stylesheets (usually CSS) to the document as you type. So you still have to deal with the underlying XML structure and tags, explicitly putting the tags where you want them. It's just that you get to deal with the tags as if they were styles in a word processor. So I wouldn't ever make something bold. Instead, I'd tag it as a new term, or emphasis, or a command, or whatever, and let the stylesheets make it bold, or bold and green, or a different font or background -- whatever helps me make the distinction in my head without having to specifically think about the tags.

      Believe me, it's much easier to edit large amounts of DocBook without having all the tags mixed in. To me, it actually keeps the content separate from the presentation -- the tags are really just explaining how to format things, by giving things semantic meanings. Removing the tags from view lets me concentrate on the content. But the tags are still visible enough that I can add them when I change semantic contexts. (Typing in all the content and adding tags later tends to take almost twice as long.)

      See my post on Morphon for a list of programs that support this way of editing XML.

  • XMLMind (Score:2, Informative)

    by jdurham ( 530204 )
    http://www.xmlmind.com/xmleditor/ Not sure what the license is.
  • XMetal (Score:2, Informative)

    by Ovidius ( 144915 )

    If buying it isn't a problem, XMetal [softquad.com] works pretty well for DocBook. You can view your document as a tree (i.e., structured); with minimal block formatting and visible tags; as something like WYSIWYG, formatted with a CSS stylesheet; and, preview it as HTML in browser (IE for sure -- I don't know if you could get it to use Mozilla) formatted with an XSL stylesheet. The new version adds PDF preview which I assume is done through XSL-FO, but I haven't used it.

    It's not the fastest or smoothest editor to use, but it does a good job of balancing the spirit of XML with the niceness of seeing formatted text as you work.


  • Right from the i4i website:

    Quote-
    No proprietary word processing interface; it's Microsoft Word

    * Your end-users can continue to generate content in the same environment they always
    -end quote

    But this is complete BS. MS word is not proprietary? Yes all end-users are using word.

    Most of the tech writers I know abhor MS Word. I really don't like MS word either. It's annoying in that it attempts to be "smart".

    Not to bag too hard on i4i, but making preposterous claims doesn't help the product IMO.

  • by molo ( 94384 ) on Monday November 25, 2002 @03:10AM (#4749332) Journal
    We use a commercial product to do this at work. It is called Epic, and is available from Arbortext. We've had some real problems with it though, so I think our tech writers are moving to a plain ascii editor. I can't recommend it, but I thought I would provide a data point.

    Good luck.

    -molo
  • OpenOffice (Score:3, Informative)

    by Matts ( 1628 ) on Monday November 25, 2002 @09:04AM (#4750503) Homepage
    Try OpenOffice. My company [axkit.com] sells an XSLT based filter that will turn OpenOffice documents (if using sensible styles) into DocBook XML. You may have to tweak it a bit to get exactly what you desire, but that's going to be the case with any tool.
  • by booch ( 4157 )
    The canonical list of DocBook editors is here [docbook.org]. The best program I've seen for editing DocBook is Morphon [morphon.com]. It does a really good job of styling tags with CSS in real-time so that you can edit the document with various tags, but see the output in a WYSIWYG-like way. There's also a tree view. Another good program is XMLmind's XXE XML Editor [xmlmind.com]. Both are Java apps, so will work cross-platform. They both come with good DocBook configurations, and are primarily used for DocBook. They've got free evaluation copies, and are reasonably priced at $100-$200.

    I also looked at ArborText and FrameMaker. They claimed to support DocBook, but they supply config files only for (much) older DocBook versions. I found the out-of-the-box support for docBook to be sorely lacking. It looked like it was possible to configure them for better support, but it would have taken many hours to do so.

    XML Spy and XMetaL looked pretty good. I don't remember how well they did with DocBook, but they are geared more for data-oriented XML, whereas Morphon and XXE are more suited for document-oriented XML, such as DocBook.

  • As it happens, I was doing some surfing for document-oriented WYSYWYG/WYSYWIM XML editors myself. I'm a little late in the discussion, so a couple of these have already been mentioned, but here's the list I've got so far (I've not tried them all):

He has not acquired a fortune; the fortune has acquired him. -- Bion

Working...