You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by Clinton Begin <cl...@gmail.com> on 2006/10/03 02:44:24 UTC

New iBATIS Documentation Format

Hi everyone...

In another thread that wasn't appropriately named, we raised the issue of
the iBATIS documentation formats.  What caused me to reopen this as a new
thread is that someone just recommended APT, which seems very interesting
(read and see below for more).

We'd like our documentation tool to meet the following goals:

Developer/Author criteria -- The following are key to maintaining high
quality and timely documentation.  Developers need to have a low barrier to
documentation.

   - Accessible / freely available to all
   - Easy / familiar
   - Portable / Available for all desktop platforms
   - "Diffable" / Merge / Compare features.
   - Participative / Community Capable
   - Quick Changes / Deployment

User/Reader criteria -- The following ensure that readers of the
documentation have options.

   - Printable
   - "Bundlable" with distribution
   - "Downloadable"
   - "Browsable"
   - "Searchable"
   - Multi-format: PDF, HTML -- to achieve the above goals.

Alternatives discussed so far:

   - OpenOffice.org -- currently the choice of iBATIS for Java
   documentation.  Excels at accessibility, ease of use, but really sucks at
   participation, quick changes and deployment.  All other criteria are met but
   not exceeded.
   - DocBook -- currently the choice of iBATIS.NET documentation.  It
   excels at "diffability" and multi-format including great PDF and HTML
   output.  But it fails at ease of use / familiarity and therefore
   participation and quick changes/deployment as well.  All other criteria are
   met but not exceeded.
   - Confluence.  Excels at Participative and Quick Changes, but fails in
   many others including Printable, Downloadable, Bundlable.
   - APT: Almost Plain Text.  This would seem to achieve everything.
   It's basically what I would call an offline Wiki-style formatted text that
   can be converted to HTML, PDF, RTF and other formats.  It's free (Apache
   1.1 style license), easy (it's plain text with some rules), diffable,
   easy to change/deploy ("automatable") and could be participative (because
   it's "automatable").  It can output to all of the formats to achieve all
   user/reader goals.  Is there something I'm missing?  Or does it sound
   great?  http://www.xmlmind.com/aptconvert.html
   - Others alternatives I'm forgetting?

Thoughts?

Cheers,
Clinton

Re: New iBATIS Documentation Format

Posted by Brandon Goodin <br...@gmail.com>.
Open Office handles the reading and writing of docbook xml files as well. We
could likely take the existing iBATIS docs and save them to docbook via Open
Office, fix any oddities, and go. I'm for docbook because of it's tool
support and cross platform ease of use.

Brandon

On 10/3/06, Larry Meadors <lm...@apache.org> wrote:
>
> Heh, well, I am for it.
>
> I think either way (APT or docbook) we can switch later, so to me it's
> not a decision that we need to really sweat over (on this project).
>
> I think with a little effort, we can create a modular main document
> that includes the child documents. I could take a crack at it later
> today with the dev guide.
>
> The tutorial is on the list somewhere already.
>
> Larry
>
>
> On 10/3/06, Clinton Begin <cl...@gmail.com> wrote:
> > I'm sold, at least enough to give it a shot.
> >
> > I'm giving DocBook my +1.
> >
> > What does everyone else think?
> >
> > Clinton
> >
> > On 10/3/06, Jeff Butler <je...@gmail.com> wrote:
> > >
> > > For me the main advantage is that the source is plain XML so it's
> > diffable.
> > >
> > > Another advantage is that the source can be transformed into a large
> > variety of formats (PDF, HTML, Word, Eclipse Help, etc.)
> > >
> > > Most publishers accept DOCBOOK markup as input.  So if anyone every
> wanted
> > to publish the developer's guide, it would be simple. (I know this is
> not
> > really going to happen, but I think it says something that places like
> > O'Reilly accept DOCBOOK)
> > >
> > > Jeff Butler
> > >
> > >
> > >
> > >
> > >
> > > On 10/3/06, Clinton Begin <clinton.begin@gmail.com > wrote:
> > > >
> > > > I'm going to look at DocBook again.  I'll download the XMLMind
> editor
> > and the .NET guide (but I've heard that some people just use an IDE...no
> > XMLMind necessary).
> > > >
> > > > But just to refresh my memory....what are the advantages of DocBook
> over
> > OOo....?
> > > >
> > > > Cheers,
> > > > Clinton
> > > >
> > > >
> > >
> >
> >
>

Re: New iBATIS Documentation Format

Posted by Larry Meadors <lm...@apache.org>.
Heh, well, I am for it.

I think either way (APT or docbook) we can switch later, so to me it's
not a decision that we need to really sweat over (on this project).

I think with a little effort, we can create a modular main document
that includes the child documents. I could take a crack at it later
today with the dev guide.

The tutorial is on the list somewhere already.

Larry


On 10/3/06, Clinton Begin <cl...@gmail.com> wrote:
> I'm sold, at least enough to give it a shot.
>
> I'm giving DocBook my +1.
>
> What does everyone else think?
>
> Clinton
>
> On 10/3/06, Jeff Butler <je...@gmail.com> wrote:
> >
> > For me the main advantage is that the source is plain XML so it's
> diffable.
> >
> > Another advantage is that the source can be transformed into a large
> variety of formats (PDF, HTML, Word, Eclipse Help, etc.)
> >
> > Most publishers accept DOCBOOK markup as input.  So if anyone every wanted
> to publish the developer's guide, it would be simple. (I know this is not
> really going to happen, but I think it says something that places like
> O'Reilly accept DOCBOOK)
> >
> > Jeff Butler
> >
> >
> >
> >
> >
> > On 10/3/06, Clinton Begin <clinton.begin@gmail.com > wrote:
> > >
> > > I'm going to look at DocBook again.  I'll download the XMLMind editor
> and the .NET guide (but I've heard that some people just use an IDE...no
> XMLMind necessary).
> > >
> > > But just to refresh my memory....what are the advantages of DocBook over
> OOo....?
> > >
> > > Cheers,
> > > Clinton
> > >
> > >
> >
>
>

Re: New iBATIS Documentation Format

Posted by Richard Sullivan <it...@gmail.com>.
> I'm giving DocBook my +1.
I luvya Clinton. Any way ya wanna do it man is OK with me.

Seriously I think this is the way to go (and I really did go and print
the devguide PDF and read it on a train ;=)
I did a brief evaluation of DocBook about a year ago - just enough so
I could argue it's strengths and advocate using it in my dayjob.
Unfortunately the boss said "No! Word is the best documentation tool
ever and is soooo easy to use" so our docs still suck and all I can
offer you guys is fond foggy memories...

I found the amount of "getting started" material overwhelming and
there was a lot of outdated material out there (basically you wanna
ignore most of the DSSSL stuff and go for XSL).  There seemed to be
endless variations of DTDs/Schemas but the basic distinction was
"book" or "article" (I guess you folks want "book" for the devguide
and maybe "article" for the tutorial).

If you are running 'dose, hate 'nix and just want to kick the tires try:
http://www.e-novative.info/software/ede/ede_download.php
They have a bunch of DOS-like command line programs ready to go. You
can just edit some example XML template using your favourite editor
and run some .bat file to convert it to pdf and HTML. Idiot proof.  I
have no idea how it did the magic but I guess it would be quite to
easy find out.

For Debian flavour Linux fans (or anyone who likes an easy to read
newbie-level article even if it is probably out of date):
http://newbiedoc.sourceforge.net/metadoc/docbook-guide.html


I know one of my managers here actively uses docbook for some private
projects and uses http://www.xmlmind.com/xmleditor/ (freeware
edition).  I haven't tried that tool but if he can get it to work then
you guys should have no problems.

Eclipse lovers (myself included) should try this:
http://www.eclipse.org/articles/Article-Authoring-With-Eclipse/AuthoringWithEclipse.html

Enjoy,
Richard


On 10/3/06, Clinton Begin <cl...@gmail.com> wrote:
> I'm sold, at least enough to give it a shot.
>
> I'm giving DocBook my +1.
>
> What does everyone else think?
>
> Clinton
>
> On 10/3/06, Jeff Butler <je...@gmail.com> wrote:
> >
> > For me the main advantage is that the source is plain XML so it's
> diffable.
> >
> > Another advantage is that the source can be transformed into a large
> variety of formats (PDF, HTML, Word, Eclipse Help, etc.)
> >
> > Most publishers accept DOCBOOK markup as input.  So if anyone every wanted
> to publish the developer's guide, it would be simple. (I know this is not
> really going to happen, but I think it says something that places like
> O'Reilly accept DOCBOOK)
> >
> > Jeff Butler
> >
> >
> >
> >
> >
> > On 10/3/06, Clinton Begin <clinton.begin@gmail.com > wrote:
> > >
> > > I'm going to look at DocBook again.  I'll download the XMLMind editor
> and the .NET guide (but I've heard that some people just use an IDE...no
> XMLMind necessary).
> > >
> > > But just to refresh my memory....what are the advantages of DocBook over
> OOo....?
> > >
> > > Cheers,
> > > Clinton
> > >
> > >
> >
>
>

Re: New iBATIS Documentation Format

Posted by Clinton Begin <cl...@gmail.com>.
I'm sold, at least enough to give it a shot.

I'm giving DocBook my +1.

What does everyone else think?

Clinton

On 10/3/06, Jeff Butler <je...@gmail.com> wrote:
>
> For me the main advantage is that the source is plain XML so it's
> diffable.
>
> Another advantage is that the source can be transformed into a large
> variety of formats (PDF, HTML, Word, Eclipse Help, etc.)
>
> Most publishers accept DOCBOOK markup as input.  So if anyone every wanted
> to publish the developer's guide, it would be simple. (I know this is not
> really going to happen, but I think it says something that places like
> O'Reilly accept DOCBOOK)
>
> Jeff Butler
>
>
>
>
> On 10/3/06, Clinton Begin <cl...@gmail.com> wrote:
> >
> >
> > I'm going to look at DocBook again.  I'll download the XMLMind editor
> > and the .NET guide (but I've heard that some people just use an IDE...no
> > XMLMind necessary).
> >
> > But just to refresh my memory....what are the advantages of DocBook over
> > OOo....?
> >
> > Cheers,
> > Clinton
> >
> >
>

Re: New iBATIS Documentation Format

Posted by Jeff Butler <je...@gmail.com>.
For me the main advantage is that the source is plain XML so it's diffable.

Another advantage is that the source can be transformed into a large variety
of formats (PDF, HTML, Word, Eclipse Help, etc.)

Most publishers accept DOCBOOK markup as input.  So if anyone every wanted
to publish the developer's guide, it would be simple. (I know this is not
really going to happen, but I think it says something that places like
O'Reilly accept DOCBOOK)

Jeff Butler




On 10/3/06, Clinton Begin <cl...@gmail.com> wrote:
>
>
> I'm going to look at DocBook again.  I'll download the XMLMind editor and
> the .NET guide (but I've heard that some people just use an IDE...no XMLMind
> necessary).
>
> But just to refresh my memory....what are the advantages of DocBook over
> OOo....?
>
> Cheers,
> Clinton
>
>

Re: New iBATIS Documentation Format

Posted by Clinton Begin <cl...@gmail.com>.
I'm going to look at DocBook again.  I'll download the XMLMind editor and
the .NET guide (but I've heard that some people just use an IDE...no XMLMind
necessary).

But just to refresh my memory....what are the advantages of DocBook over
OOo....?

Cheers,
Clinton

On 10/3/06, Jeff Butler <je...@gmail.com> wrote:
>
> I'm for DOCBOOK.  It much more functional than APT at the cost of some
> complexity, it's in wide use (something of a standard), it's not really that
> hard to use, and there are tutorials all over the place.  I believe Larry
> found that we could get free licenses to a good WYSIWYG tool if someone
> needs that.
>
> From the APT home page:
>
> The *APT* format (*A*lmost *P*lain *T*ext) is a simple markup language
> (like HTML) than can be used to write simple article-like documents (like
> HTML).
>
> I don't think our developer's guide could be described as a "simple
> article-like document".
>
> As for the deployment issue...I think DOCBOOK is as automatable as APT -
> isn't it just a transform?
>
> Jeff Butler
>
>
>
>
> On 10/3/06, Richard Sullivan <it...@gmail.com> wrote:
> >
> > APT looks great.  The "IBatis for Python" crowd will love it ;=)
> >
> >
> > > Others alternatives I'm forgetting?
> > The docbook-wiki combination I mentioned in an earlier rant (
> > http://doc-book.sourceforge.net/homepage/ ).    It basically offers
> > similar advantages as APT and Confluence.  It is editable directly via
> > the web, stores everything in docbook format and can generate whatever
> > format you want.   The downside could be a tough installation. I just
> > read the install guide - it looks OK as long as you run Red Hat or
> > Fedora.  The product relies on a plethora of publishing RPMs.  There
> > is nothing exotic amongst the packages and are probably all availabe
> > in any RH/FC distro but if you run something else then I guess you are
> > going to spend many hours figuring out exactly which packages you
> > need.
> >
> > g'luck,
> > Richard
> > (who is still busy with his first IBatis project and probably about to
> > unleash a whole bunch of newbie questions soon)
> >
>
>

Re: New iBATIS Documentation Format

Posted by Jeff Butler <je...@gmail.com>.
I'm for DOCBOOK.  It much more functional than APT at the cost of some
complexity, it's in wide use (something of a standard), it's not really that
hard to use, and there are tutorials all over the place.  I believe Larry
found that we could get free licenses to a good WYSIWYG tool if someone
needs that.

>From the APT home page:

The *APT* format (*A*lmost *P*lain *T*ext) is a simple markup language (like
HTML) than can be used to write simple article-like documents (like HTML).

I don't think our developer's guide could be described as a "simple
article-like document".

As for the deployment issue...I think DOCBOOK is as automatable as APT -
isn't it just a transform?

Jeff Butler




On 10/3/06, Richard Sullivan <it...@gmail.com> wrote:
>
> APT looks great.  The "IBatis for Python" crowd will love it ;=)
>
>
> > Others alternatives I'm forgetting?
> The docbook-wiki combination I mentioned in an earlier rant (
> http://doc-book.sourceforge.net/homepage/ ).    It basically offers
> similar advantages as APT and Confluence.  It is editable directly via
> the web, stores everything in docbook format and can generate whatever
> format you want.   The downside could be a tough installation. I just
> read the install guide - it looks OK as long as you run Red Hat or
> Fedora.  The product relies on a plethora of publishing RPMs.  There
> is nothing exotic amongst the packages and are probably all availabe
> in any RH/FC distro but if you run something else then I guess you are
> going to spend many hours figuring out exactly which packages you
> need.
>
> g'luck,
> Richard
> (who is still busy with his first IBatis project and probably about to
> unleash a whole bunch of newbie questions soon)
>

Re: New iBATIS Documentation Format

Posted by Clinton Begin <cl...@gmail.com>.
I've just read the install docs for APT....it's not as bad as DocBook Wiki,
but it does rely on LaTex and a couple of other de facto *nix treats.

Yeesh.  I may be starting to lean towards Confluence or DocBook.

Depends where the important values are.  Do people care about a single
downloadable, printable PDF?  Or do they care more about being able to
contribute on a regular basis and get the most up-to-date documentation
possible without a full time tech writer?  :-/

We're having the exact same discussion internally at TW.  Obviously there
are no perfect solutions.  So we should write one.  ;-)

New OSS project anyone?

Cheers,
Clinton



On 10/3/06, Richard Sullivan <it...@gmail.com> wrote:
>
> APT looks great.  The "IBatis for Python" crowd will love it ;=)
>
>
> > Others alternatives I'm forgetting?
> The docbook-wiki combination I mentioned in an earlier rant (
> http://doc-book.sourceforge.net/homepage/ ).    It basically offers
> similar advantages as APT and Confluence.  It is editable directly via
> the web, stores everything in docbook format and can generate whatever
> format you want.   The downside could be a tough installation. I just
> read the install guide - it looks OK as long as you run Red Hat or
> Fedora.  The product relies on a plethora of publishing RPMs.  There
> is nothing exotic amongst the packages and are probably all availabe
> in any RH/FC distro but if you run something else then I guess you are
> going to spend many hours figuring out exactly which packages you
> need.
>
> g'luck,
> Richard
> (who is still busy with his first IBatis project and probably about to
> unleash a whole bunch of newbie questions soon)
>

Re: New iBATIS Documentation Format

Posted by Richard Sullivan <it...@gmail.com>.
APT looks great.  The "IBatis for Python" crowd will love it ;=)


> Others alternatives I'm forgetting?
The docbook-wiki combination I mentioned in an earlier rant (
http://doc-book.sourceforge.net/homepage/ ).    It basically offers
similar advantages as APT and Confluence.  It is editable directly via
the web, stores everything in docbook format and can generate whatever
format you want.   The downside could be a tough installation. I just
read the install guide - it looks OK as long as you run Red Hat or
Fedora.  The product relies on a plethora of publishing RPMs.  There
is nothing exotic amongst the packages and are probably all availabe
in any RH/FC distro but if you run something else then I guess you are
going to spend many hours figuring out exactly which packages you
need.

g'luck,
Richard
(who is still busy with his first IBatis project and probably about to
unleash a whole bunch of newbie questions soon)

Re: New iBATIS Documentation Format

Posted by Brandon Goodin <br...@gmail.com>.
I exported a version of one of the docs to docbook from Open Office. It
didn't do too bad of a job. But, I think it is someplace to start. I think
we'll have to define an acceptable docbook layout that lends itself to easy
trasformation using t things like xsl -> html, xsl -> fop -> pdf, etc. I've
used docbook in the past for software help documentation. It takes a while
to get your format sexy. But, the docbook xml is just a generic starting
point. You can sex it up with the xsl.

Brandon

On 10/3/06, Larry Meadors <lm...@apache.org> wrote:
>
> I'd agree - OOo on my box is total crap for docbook - like worse than
> Word for HTML.
>
> Larry
>
>
> On 10/3/06, Clinton Begin <cl...@gmail.com> wrote:
> > I don't think Brandon was suggesting we continue to use OOo with
> DocBook.  I
> > can attest to the poor quality of the DocBook output from OOo....
> >
> > But it's a good way to start.  We can export to DocBook, then clean it
> up (a
> > lot).  From that point on, we use XXE or a text editor...
> >
> > Cheers,
> > Clinton
> >
> >
> > On 10/3/06, Ted Husted <hu...@apache.org> wrote:
> > > On 10/2/06, Clinton Begin <cl...@gmail.com> wrote:
> > > > DocBook -- currently the choice of iBATIS.NET documentation.  It
> excels
> > at
> > > > "diffability" and multi-format including great PDF and HTML
> output.  But
> > it
> > > > fails at ease of use / familiarity and therefore participation and
> quick
> > > > changes/deployment as well.  All other criteria are met but not
> > exceeded.
> > >
> > > DocBook with OpenOffice seems like a fair option.
> > >
> > > One thing to watch is whether systems like XMLMind format the
> > > underlying content in the same way. We'd want to avoid unnecessary
> > > cruft on the checkins, so if everyone is OK with OpenOffice, that
> > > might make for the best default editor.
> > >
> > > The OO XML format is not the friendliest for a change log, since it
> > > doesn't wrap lines, but it does seem like the lesser of evils.
> > >
> > > DocBook is also compatible with systems like Maven and Forrest, should
> > > that ever come up.
> > >
> > > -Ted.
> > >
> >
> >
>

Re: New iBATIS Documentation Format

Posted by Larry Meadors <lm...@apache.org>.
I'd agree - OOo on my box is total crap for docbook - like worse than
Word for HTML.

Larry


On 10/3/06, Clinton Begin <cl...@gmail.com> wrote:
> I don't think Brandon was suggesting we continue to use OOo with DocBook.  I
> can attest to the poor quality of the DocBook output from OOo....
>
> But it's a good way to start.  We can export to DocBook, then clean it up (a
> lot).  From that point on, we use XXE or a text editor...
>
> Cheers,
> Clinton
>
>
> On 10/3/06, Ted Husted <hu...@apache.org> wrote:
> > On 10/2/06, Clinton Begin <cl...@gmail.com> wrote:
> > > DocBook -- currently the choice of iBATIS.NET documentation.  It excels
> at
> > > "diffability" and multi-format including great PDF and HTML output.  But
> it
> > > fails at ease of use / familiarity and therefore participation and quick
> > > changes/deployment as well.  All other criteria are met but not
> exceeded.
> >
> > DocBook with OpenOffice seems like a fair option.
> >
> > One thing to watch is whether systems like XMLMind format the
> > underlying content in the same way. We'd want to avoid unnecessary
> > cruft on the checkins, so if everyone is OK with OpenOffice, that
> > might make for the best default editor.
> >
> > The OO XML format is not the friendliest for a change log, since it
> > doesn't wrap lines, but it does seem like the lesser of evils.
> >
> > DocBook is also compatible with systems like Maven and Forrest, should
> > that ever come up.
> >
> > -Ted.
> >
>
>

Re: New iBATIS Documentation Format

Posted by Ted Husted <hu...@apache.org>.
On 10/4/06, Clinton Begin <cl...@gmail.com> wrote:
> The biggest thing for me is the embedded XML within the docs.  Because
> iBATIS has a  lot of XML of its own, it becomes a real pain when we have to
> start typing hundreds of &lt;select&gt; everywhere...

A problem solved by Confluence, since it is not tag-based.

We have the same problem with Struts 1. A lot of documentation
involves JSP tags, which means escaping everying. I've maintained
documentation like that, mostly by hand, in XML, for going on six
years, and it's not pretty.

Of course, there are lotts of issues with Confuence too, especially
when you want to make sweeping changes. But, in terms of day-to-day
straight-up programming documentation, it's hard to beat.

-Ted.

Re: New iBATIS Documentation Format

Posted by Brandon Goodin <br...@gmail.com>.
I think the escaping is about all XXE is offering. The reason I say that is
that we will likely be storing our images in a url location. I don't think
we will be embedding images into docbook. That gets a little hard to manage
when trying to transform to different presentation mediums. XXE will
generate all the different formats. But the last time i used it... it was
not as customizable as writing the xsl myself.

I think the clear thing here is that we are going to use DocBook. If people
want to use XXE then fine. If they want to handcode it... then fine. Since
ALL documentation solutions seems to be nasty, let's just get started with
one of these and be on with whatever flavor of pain we like best. I can't
believe documentation is a bigger discussion than writing code. Maybe we
should just do like Ruby and put all of our documentation in the JavaDoc.

Brandon

On 10/4/06, Larry Meadors <lm...@apache.org> wrote:
>
> I guess that is another +1 for XXE - it escapes all that crap. Just
> paste the code and you are done.
>
> Larry
>
>
> On 10/4/06, Clinton Begin <cl...@gmail.com> wrote:
> > The biggest thing for me is the embedded XML within the docs.  Because
> > iBATIS has a  lot of XML of its own, it becomes a real pain when we have
> to
> > start typing hundreds of &lt;select&gt; everywhere...
> >
> > Cheers,
> >
> >
> > On 10/4/06, Larry Meadors <lm...@apache.org> wrote:
> > > Nope, I think you have all you *need*, but XXE also gives you tools
> > > for things like inserting images and stuff that a text-based editor
> > > won't (but after you do one, you won't need that), and is more WYSIWYG
> > > than eclipse will be, so it may be faster to edit and see the
> > > structure more clearly.
> > >
> > > Nothing earth-shattering, but some niceties nonetheless.
> > >
> > > I also agree that the markup should just be content, and the style
> > > should be applied with XSL later.
> > >
> > > IMO, that is another fundamental difference between using OO and an
> > > XML editor: OO implies structure based on style; XML implies style
> > > based on structure.
> > >
> > > Larry
> > >
> > >
> > > On 10/4/06, Brandon Goodin <br...@gmail.com> wrote:
> > > > personally, I would rather use my IDE which already does XML editing
> > > > according to a schema and tells me when i'm doing something goofy.
> Also,
> > the
> > > > docbook is a base markup and not a final product. So, in the end it
> only
> > > > servers to be transformed into something useful. So, I already have
> a
> > set of
> > > > tools that i use to do all that. I have an xml editor, xslt plugin,
> and
> > > > xpath plugin. That's really all i should need. Am i missing
> something?
> > > >
> > > > Brandon
> > > >
> > > >
> > > > On 10/4/06, Larry Meadors <lm...@apache.org> wrote:
> > > > > Heheh, is this the politically correct way to say "they both
> suck"?
> > ;-)
> > > > >
> > > > > IMO, the dissonance is because they are trying to accomplish two
> very
> > > > > different things:
> > > > >
> > > > > XXE is an XML editor, not a word processor. It's goal is to make
> the
> > > > > document structure correct.
> > > > >
> > > > > OO Writer is a general purpose word processor that is intended to
> > > > > replace Word, and it happens to have a docbook writer bolted on.
> > > > >
> > > > > When I first used XXE, I found it to be really cumbersome,
> too...just
> > > > > like the first time I used a real Java IDE. It tries to make sure
> you
> > > > > don't screw stuff up (structurally), so you can't do whatever you
> want
> > > > > wherever you want to - it forces you to play by the docbook rules.
> > > > > It's a pain, but once you get used to it, it'll be like the
> difference
> > > > > between using an IDE and notepad for editing Java source. With
> > > > > notepad, you can put anything anywhere, right or wrong, but it's
> not
> > > > > cumbersome at all. ;-)
> > > > >
> > > > > Larry
> > > > >
> > > > >
> > > > > On 10/4/06, Ted Husted < husted@apache.org> wrote:
> > > > > > On 10/4/06, Ted Husted <hu...@apache.org> wrote:
> > > > > > > I'll try it again, but the last time I used XXE, I found it
> > cumbersome
> > > > > > > and distracting. OO is at least unobstrusive.
> > > > > >
> > > > > > I flipped back and forth between them for a while, and found
> each to
> > > > > > be inadequate in different ways. I continued to be amazed at the
> > lack
> > > > > > of  adequate tools for collaborating on technical documentation.
> > > > > >
> > > > > > -Ted.
> > > > >
> > > >
> > > >
> > >
> >
> >
>

Re: New iBATIS Documentation Format

Posted by Larry Meadors <lm...@apache.org>.
I guess that is another +1 for XXE - it escapes all that crap. Just
paste the code and you are done.

Larry


On 10/4/06, Clinton Begin <cl...@gmail.com> wrote:
> The biggest thing for me is the embedded XML within the docs.  Because
> iBATIS has a  lot of XML of its own, it becomes a real pain when we have to
> start typing hundreds of &lt;select&gt; everywhere...
>
> Cheers,
>
>
> On 10/4/06, Larry Meadors <lm...@apache.org> wrote:
> > Nope, I think you have all you *need*, but XXE also gives you tools
> > for things like inserting images and stuff that a text-based editor
> > won't (but after you do one, you won't need that), and is more WYSIWYG
> > than eclipse will be, so it may be faster to edit and see the
> > structure more clearly.
> >
> > Nothing earth-shattering, but some niceties nonetheless.
> >
> > I also agree that the markup should just be content, and the style
> > should be applied with XSL later.
> >
> > IMO, that is another fundamental difference between using OO and an
> > XML editor: OO implies structure based on style; XML implies style
> > based on structure.
> >
> > Larry
> >
> >
> > On 10/4/06, Brandon Goodin <br...@gmail.com> wrote:
> > > personally, I would rather use my IDE which already does XML editing
> > > according to a schema and tells me when i'm doing something goofy. Also,
> the
> > > docbook is a base markup and not a final product. So, in the end it only
> > > servers to be transformed into something useful. So, I already have a
> set of
> > > tools that i use to do all that. I have an xml editor, xslt plugin, and
> > > xpath plugin. That's really all i should need. Am i missing something?
> > >
> > > Brandon
> > >
> > >
> > > On 10/4/06, Larry Meadors <lm...@apache.org> wrote:
> > > > Heheh, is this the politically correct way to say "they both suck"?
> ;-)
> > > >
> > > > IMO, the dissonance is because they are trying to accomplish two very
> > > > different things:
> > > >
> > > > XXE is an XML editor, not a word processor. It's goal is to make the
> > > > document structure correct.
> > > >
> > > > OO Writer is a general purpose word processor that is intended to
> > > > replace Word, and it happens to have a docbook writer bolted on.
> > > >
> > > > When I first used XXE, I found it to be really cumbersome, too...just
> > > > like the first time I used a real Java IDE. It tries to make sure you
> > > > don't screw stuff up (structurally), so you can't do whatever you want
> > > > wherever you want to - it forces you to play by the docbook rules.
> > > > It's a pain, but once you get used to it, it'll be like the difference
> > > > between using an IDE and notepad for editing Java source. With
> > > > notepad, you can put anything anywhere, right or wrong, but it's not
> > > > cumbersome at all. ;-)
> > > >
> > > > Larry
> > > >
> > > >
> > > > On 10/4/06, Ted Husted < husted@apache.org> wrote:
> > > > > On 10/4/06, Ted Husted <hu...@apache.org> wrote:
> > > > > > I'll try it again, but the last time I used XXE, I found it
> cumbersome
> > > > > > and distracting. OO is at least unobstrusive.
> > > > >
> > > > > I flipped back and forth between them for a while, and found each to
> > > > > be inadequate in different ways. I continued to be amazed at the
> lack
> > > > > of  adequate tools for collaborating on technical documentation.
> > > > >
> > > > > -Ted.
> > > >
> > >
> > >
> >
>
>

Re: New iBATIS Documentation Format

Posted by Gilles Bayon <ib...@gmail.com>.
The first draft is a little time consuming but once you get it, the
syntax is no more complicated than html, you just do a lot of cut &
paste.
I'm just using a simple editor à la notepad :-)

For XML, I'm even incorporated directly the schemas of the various
configuration files.

-- 
Cheers,
Gilles

<a href="http://www.amazon.com/gp/registry/6JCP7AORB0LE">Wish List</a>

Re: New iBATIS Documentation Format

Posted by Clinton Begin <cl...@gmail.com>.
YAY!  Just like iBATIS.  :-)

Gilles, you've been using DocBook for a while...are you happy with it?

Clinton

On 10/4/06, Gilles Bayon <ib...@gmail.com> wrote:
>
> you can use
> <programlisting><![CDATA[ ...
>
> On 10/4/06, Clinton Begin <cl...@gmail.com> wrote:
> > The biggest thing for me is the embedded XML within the docs.  Because
> > iBATIS has a  lot of XML of its own, it becomes a real pain when we have
> to
> > start typing hundreds of &lt;select&gt; everywhere...
> >
> > Cheers,
> >
> >
> > On 10/4/06, Larry Meadors <lm...@apache.org> wrote:
> > > Nope, I think you have all you *need*, but XXE also gives you tools
> > > for things like inserting images and stuff that a text-based editor
> > > won't (but after you do one, you won't need that), and is more WYSIWYG
> > > than eclipse will be, so it may be faster to edit and see the
> > > structure more clearly.
> > >
> > > Nothing earth-shattering, but some niceties nonetheless.
> > >
> > > I also agree that the markup should just be content, and the style
> > > should be applied with XSL later.
> > >
> > > IMO, that is another fundamental difference between using OO and an
> > > XML editor: OO implies structure based on style; XML implies style
> > > based on structure.
> > >
> > > Larry
> > >
> > >
> > > On 10/4/06, Brandon Goodin <br...@gmail.com> wrote:
> > > > personally, I would rather use my IDE which already does XML editing
> > > > according to a schema and tells me when i'm doing something goofy.
> Also,
> > the
> > > > docbook is a base markup and not a final product. So, in the end it
> only
> > > > servers to be transformed into something useful. So, I already have
> a
> > set of
> > > > tools that i use to do all that. I have an xml editor, xslt plugin,
> and
> > > > xpath plugin. That's really all i should need. Am i missing
> something?
> > > >
> > > > Brandon
> > > >
> > > >
> > > > On 10/4/06, Larry Meadors <lm...@apache.org> wrote:
> > > > > Heheh, is this the politically correct way to say "they both
> suck"?
> > ;-)
> > > > >
> > > > > IMO, the dissonance is because they are trying to accomplish two
> very
> > > > > different things:
> > > > >
> > > > > XXE is an XML editor, not a word processor. It's goal is to make
> the
> > > > > document structure correct.
> > > > >
> > > > > OO Writer is a general purpose word processor that is intended to
> > > > > replace Word, and it happens to have a docbook writer bolted on.
> > > > >
> > > > > When I first used XXE, I found it to be really cumbersome,
> too...just
> > > > > like the first time I used a real Java IDE. It tries to make sure
> you
> > > > > don't screw stuff up (structurally), so you can't do whatever you
> want
> > > > > wherever you want to - it forces you to play by the docbook rules.
> > > > > It's a pain, but once you get used to it, it'll be like the
> difference
> > > > > between using an IDE and notepad for editing Java source. With
> > > > > notepad, you can put anything anywhere, right or wrong, but it's
> not
> > > > > cumbersome at all. ;-)
> > > > >
> > > > > Larry
> > > > >
> > > > >
> > > > > On 10/4/06, Ted Husted < husted@apache.org> wrote:
> > > > > > On 10/4/06, Ted Husted <hu...@apache.org> wrote:
> > > > > > > I'll try it again, but the last time I used XXE, I found it
> > cumbersome
> > > > > > > and distracting. OO is at least unobstrusive.
> > > > > >
> > > > > > I flipped back and forth between them for a while, and found
> each to
> > > > > > be inadequate in different ways. I continued to be amazed at the
> > lack
> > > > > > of  adequate tools for collaborating on technical documentation.
> > > > > >
> > > > > > -Ted.
> > > > >
> > > >
> > > >
> > >
> >
> >
>
>
> --
> Cheers,
> Gilles
>
> <a href="http://www.amazon.com/gp/registry/6JCP7AORB0LE">Wish List</a>
>

Re: New iBATIS Documentation Format

Posted by Gilles Bayon <ib...@gmail.com>.
you can use
<programlisting><![CDATA[ ...

On 10/4/06, Clinton Begin <cl...@gmail.com> wrote:
> The biggest thing for me is the embedded XML within the docs.  Because
> iBATIS has a  lot of XML of its own, it becomes a real pain when we have to
> start typing hundreds of &lt;select&gt; everywhere...
>
> Cheers,
>
>
> On 10/4/06, Larry Meadors <lm...@apache.org> wrote:
> > Nope, I think you have all you *need*, but XXE also gives you tools
> > for things like inserting images and stuff that a text-based editor
> > won't (but after you do one, you won't need that), and is more WYSIWYG
> > than eclipse will be, so it may be faster to edit and see the
> > structure more clearly.
> >
> > Nothing earth-shattering, but some niceties nonetheless.
> >
> > I also agree that the markup should just be content, and the style
> > should be applied with XSL later.
> >
> > IMO, that is another fundamental difference between using OO and an
> > XML editor: OO implies structure based on style; XML implies style
> > based on structure.
> >
> > Larry
> >
> >
> > On 10/4/06, Brandon Goodin <br...@gmail.com> wrote:
> > > personally, I would rather use my IDE which already does XML editing
> > > according to a schema and tells me when i'm doing something goofy. Also,
> the
> > > docbook is a base markup and not a final product. So, in the end it only
> > > servers to be transformed into something useful. So, I already have a
> set of
> > > tools that i use to do all that. I have an xml editor, xslt plugin, and
> > > xpath plugin. That's really all i should need. Am i missing something?
> > >
> > > Brandon
> > >
> > >
> > > On 10/4/06, Larry Meadors <lm...@apache.org> wrote:
> > > > Heheh, is this the politically correct way to say "they both suck"?
> ;-)
> > > >
> > > > IMO, the dissonance is because they are trying to accomplish two very
> > > > different things:
> > > >
> > > > XXE is an XML editor, not a word processor. It's goal is to make the
> > > > document structure correct.
> > > >
> > > > OO Writer is a general purpose word processor that is intended to
> > > > replace Word, and it happens to have a docbook writer bolted on.
> > > >
> > > > When I first used XXE, I found it to be really cumbersome, too...just
> > > > like the first time I used a real Java IDE. It tries to make sure you
> > > > don't screw stuff up (structurally), so you can't do whatever you want
> > > > wherever you want to - it forces you to play by the docbook rules.
> > > > It's a pain, but once you get used to it, it'll be like the difference
> > > > between using an IDE and notepad for editing Java source. With
> > > > notepad, you can put anything anywhere, right or wrong, but it's not
> > > > cumbersome at all. ;-)
> > > >
> > > > Larry
> > > >
> > > >
> > > > On 10/4/06, Ted Husted < husted@apache.org> wrote:
> > > > > On 10/4/06, Ted Husted <hu...@apache.org> wrote:
> > > > > > I'll try it again, but the last time I used XXE, I found it
> cumbersome
> > > > > > and distracting. OO is at least unobstrusive.
> > > > >
> > > > > I flipped back and forth between them for a while, and found each to
> > > > > be inadequate in different ways. I continued to be amazed at the
> lack
> > > > > of  adequate tools for collaborating on technical documentation.
> > > > >
> > > > > -Ted.
> > > >
> > >
> > >
> >
>
>


-- 
Cheers,
Gilles

<a href="http://www.amazon.com/gp/registry/6JCP7AORB0LE">Wish List</a>

Re: New iBATIS Documentation Format

Posted by Brandon Goodin <br...@gmail.com>.
Valid points Larry and Clinton. Thanks for the feedback.

Brandon

On 10/4/06, Clinton Begin <cl...@gmail.com> wrote:
>
> The biggest thing for me is the embedded XML within the docs.  Because
> iBATIS has a  lot of XML of its own, it becomes a real pain when we have to
> start typing hundreds of &lt;select&gt; everywhere...
>
> Cheers,
>
> On 10/4/06, Larry Meadors <lm...@apache.org> wrote:
> >
> > Nope, I think you have all you *need*, but XXE also gives you tools
> > for things like inserting images and stuff that a text-based editor
> > won't (but after you do one, you won't need that), and is more WYSIWYG
> > than eclipse will be, so it may be faster to edit and see the
> > structure more clearly.
> >
> > Nothing earth-shattering, but some niceties nonetheless.
> >
> > I also agree that the markup should just be content, and the style
> > should be applied with XSL later.
> >
> > IMO, that is another fundamental difference between using OO and an
> > XML editor: OO implies structure based on style; XML implies style
> > based on structure.
> >
> > Larry
> >
> >
> > On 10/4/06, Brandon Goodin <br...@gmail.com> wrote:
> > > personally, I would rather use my IDE which already does XML editing
> > > according to a schema and tells me when i'm doing something goofy.
> > Also, the
> > > docbook is a base markup and not a final product. So, in the end it
> > only
> > > servers to be transformed into something useful. So, I already have a
> > set of
> > > tools that i use to do all that. I have an xml editor, xslt plugin,
> > and
> > > xpath plugin. That's really all i should need. Am i missing something?
> >
> > >
> > > Brandon
> > >
> > >
> > > On 10/4/06, Larry Meadors <lm...@apache.org> wrote:
> > > > Heheh, is this the politically correct way to say "they both suck"?
> > ;-)
> > > >
> > > > IMO, the dissonance is because they are trying to accomplish two
> > very
> > > > different things:
> > > >
> > > > XXE is an XML editor, not a word processor. It's goal is to make the
> >
> > > > document structure correct.
> > > >
> > > > OO Writer is a general purpose word processor that is intended to
> > > > replace Word, and it happens to have a docbook writer bolted on.
> > > >
> > > > When I first used XXE, I found it to be really cumbersome,
> > too...just
> > > > like the first time I used a real Java IDE. It tries to make sure
> > you
> > > > don't screw stuff up (structurally), so you can't do whatever you
> > want
> > > > wherever you want to - it forces you to play by the docbook rules.
> > > > It's a pain, but once you get used to it, it'll be like the
> > difference
> > > > between using an IDE and notepad for editing Java source. With
> > > > notepad, you can put anything anywhere, right or wrong, but it's not
> > > > cumbersome at all. ;-)
> > > >
> > > > Larry
> > > >
> > > >
> > > > On 10/4/06, Ted Husted < husted@apache.org> wrote:
> > > > > On 10/4/06, Ted Husted <hu...@apache.org> wrote:
> > > > > > I'll try it again, but the last time I used XXE, I found it
> > cumbersome
> > > > > > and distracting. OO is at least unobstrusive.
> > > > >
> > > > > I flipped back and forth between them for a while, and found each
> > to
> > > > > be inadequate in different ways. I continued to be amazed at the
> > lack
> > > > > of  adequate tools for collaborating on technical documentation.
> > > > >
> > > > > -Ted.
> > > >
> > >
> > >
> >
>
>

Re: New iBATIS Documentation Format

Posted by Clinton Begin <cl...@gmail.com>.
The biggest thing for me is the embedded XML within the docs.  Because
iBATIS has a  lot of XML of its own, it becomes a real pain when we have to
start typing hundreds of &lt;select&gt; everywhere...

Cheers,

On 10/4/06, Larry Meadors <lm...@apache.org> wrote:
>
> Nope, I think you have all you *need*, but XXE also gives you tools
> for things like inserting images and stuff that a text-based editor
> won't (but after you do one, you won't need that), and is more WYSIWYG
> than eclipse will be, so it may be faster to edit and see the
> structure more clearly.
>
> Nothing earth-shattering, but some niceties nonetheless.
>
> I also agree that the markup should just be content, and the style
> should be applied with XSL later.
>
> IMO, that is another fundamental difference between using OO and an
> XML editor: OO implies structure based on style; XML implies style
> based on structure.
>
> Larry
>
>
> On 10/4/06, Brandon Goodin <br...@gmail.com> wrote:
> > personally, I would rather use my IDE which already does XML editing
> > according to a schema and tells me when i'm doing something goofy. Also,
> the
> > docbook is a base markup and not a final product. So, in the end it only
> > servers to be transformed into something useful. So, I already have a
> set of
> > tools that i use to do all that. I have an xml editor, xslt plugin, and
> > xpath plugin. That's really all i should need. Am i missing something?
> >
> > Brandon
> >
> >
> > On 10/4/06, Larry Meadors <lm...@apache.org> wrote:
> > > Heheh, is this the politically correct way to say "they both suck"?
> ;-)
> > >
> > > IMO, the dissonance is because they are trying to accomplish two very
> > > different things:
> > >
> > > XXE is an XML editor, not a word processor. It's goal is to make the
> > > document structure correct.
> > >
> > > OO Writer is a general purpose word processor that is intended to
> > > replace Word, and it happens to have a docbook writer bolted on.
> > >
> > > When I first used XXE, I found it to be really cumbersome, too...just
> > > like the first time I used a real Java IDE. It tries to make sure you
> > > don't screw stuff up (structurally), so you can't do whatever you want
> > > wherever you want to - it forces you to play by the docbook rules.
> > > It's a pain, but once you get used to it, it'll be like the difference
> > > between using an IDE and notepad for editing Java source. With
> > > notepad, you can put anything anywhere, right or wrong, but it's not
> > > cumbersome at all. ;-)
> > >
> > > Larry
> > >
> > >
> > > On 10/4/06, Ted Husted <hu...@apache.org> wrote:
> > > > On 10/4/06, Ted Husted <hu...@apache.org> wrote:
> > > > > I'll try it again, but the last time I used XXE, I found it
> cumbersome
> > > > > and distracting. OO is at least unobstrusive.
> > > >
> > > > I flipped back and forth between them for a while, and found each to
> > > > be inadequate in different ways. I continued to be amazed at the
> lack
> > > > of  adequate tools for collaborating on technical documentation.
> > > >
> > > > -Ted.
> > >
> >
> >
>

Re: New iBATIS Documentation Format

Posted by Larry Meadors <lm...@apache.org>.
Nope, I think you have all you *need*, but XXE also gives you tools
for things like inserting images and stuff that a text-based editor
won't (but after you do one, you won't need that), and is more WYSIWYG
than eclipse will be, so it may be faster to edit and see the
structure more clearly.

Nothing earth-shattering, but some niceties nonetheless.

I also agree that the markup should just be content, and the style
should be applied with XSL later.

IMO, that is another fundamental difference between using OO and an
XML editor: OO implies structure based on style; XML implies style
based on structure.

Larry


On 10/4/06, Brandon Goodin <br...@gmail.com> wrote:
> personally, I would rather use my IDE which already does XML editing
> according to a schema and tells me when i'm doing something goofy. Also, the
> docbook is a base markup and not a final product. So, in the end it only
> servers to be transformed into something useful. So, I already have a set of
> tools that i use to do all that. I have an xml editor, xslt plugin, and
> xpath plugin. That's really all i should need. Am i missing something?
>
> Brandon
>
>
> On 10/4/06, Larry Meadors <lm...@apache.org> wrote:
> > Heheh, is this the politically correct way to say "they both suck"? ;-)
> >
> > IMO, the dissonance is because they are trying to accomplish two very
> > different things:
> >
> > XXE is an XML editor, not a word processor. It's goal is to make the
> > document structure correct.
> >
> > OO Writer is a general purpose word processor that is intended to
> > replace Word, and it happens to have a docbook writer bolted on.
> >
> > When I first used XXE, I found it to be really cumbersome, too...just
> > like the first time I used a real Java IDE. It tries to make sure you
> > don't screw stuff up (structurally), so you can't do whatever you want
> > wherever you want to - it forces you to play by the docbook rules.
> > It's a pain, but once you get used to it, it'll be like the difference
> > between using an IDE and notepad for editing Java source. With
> > notepad, you can put anything anywhere, right or wrong, but it's not
> > cumbersome at all. ;-)
> >
> > Larry
> >
> >
> > On 10/4/06, Ted Husted <hu...@apache.org> wrote:
> > > On 10/4/06, Ted Husted <hu...@apache.org> wrote:
> > > > I'll try it again, but the last time I used XXE, I found it cumbersome
> > > > and distracting. OO is at least unobstrusive.
> > >
> > > I flipped back and forth between them for a while, and found each to
> > > be inadequate in different ways. I continued to be amazed at the lack
> > > of  adequate tools for collaborating on technical documentation.
> > >
> > > -Ted.
> >
>
>

Re: New iBATIS Documentation Format

Posted by Brandon Goodin <br...@gmail.com>.
personally, I would rather use my IDE which already does XML editing
according to a schema and tells me when i'm doing something goofy. Also, the
docbook is a base markup and not a final product. So, in the end it only
servers to be transformed into something useful. So, I already have a set of
tools that i use to do all that. I have an xml editor, xslt plugin, and
xpath plugin. That's really all i should need. Am i missing something?

Brandon

On 10/4/06, Larry Meadors <lm...@apache.org> wrote:
>
> Heheh, is this the politically correct way to say "they both suck"? ;-)
>
> IMO, the dissonance is because they are trying to accomplish two very
> different things:
>
> XXE is an XML editor, not a word processor. It's goal is to make the
> document structure correct.
>
> OO Writer is a general purpose word processor that is intended to
> replace Word, and it happens to have a docbook writer bolted on.
>
> When I first used XXE, I found it to be really cumbersome, too...just
> like the first time I used a real Java IDE. It tries to make sure you
> don't screw stuff up (structurally), so you can't do whatever you want
> wherever you want to - it forces you to play by the docbook rules.
> It's a pain, but once you get used to it, it'll be like the difference
> between using an IDE and notepad for editing Java source. With
> notepad, you can put anything anywhere, right or wrong, but it's not
> cumbersome at all. ;-)
>
> Larry
>
>
> On 10/4/06, Ted Husted <hu...@apache.org> wrote:
> > On 10/4/06, Ted Husted <hu...@apache.org> wrote:
> > > I'll try it again, but the last time I used XXE, I found it cumbersome
> > > and distracting. OO is at least unobstrusive.
> >
> > I flipped back and forth between them for a while, and found each to
> > be inadequate in different ways. I continued to be amazed at the lack
> > of  adequate tools for collaborating on technical documentation.
> >
> > -Ted.
>

Re: New iBATIS Documentation Format

Posted by Larry Meadors <lm...@apache.org>.
Heheh, is this the politically correct way to say "they both suck"? ;-)

IMO, the dissonance is because they are trying to accomplish two very
different things:

XXE is an XML editor, not a word processor. It's goal is to make the
document structure correct.

OO Writer is a general purpose word processor that is intended to
replace Word, and it happens to have a docbook writer bolted on.

When I first used XXE, I found it to be really cumbersome, too...just
like the first time I used a real Java IDE. It tries to make sure you
don't screw stuff up (structurally), so you can't do whatever you want
wherever you want to - it forces you to play by the docbook rules.
It's a pain, but once you get used to it, it'll be like the difference
between using an IDE and notepad for editing Java source. With
notepad, you can put anything anywhere, right or wrong, but it's not
cumbersome at all. ;-)

Larry


On 10/4/06, Ted Husted <hu...@apache.org> wrote:
> On 10/4/06, Ted Husted <hu...@apache.org> wrote:
> > I'll try it again, but the last time I used XXE, I found it cumbersome
> > and distracting. OO is at least unobstrusive.
>
> I flipped back and forth between them for a while, and found each to
> be inadequate in different ways. I continued to be amazed at the lack
> of  adequate tools for collaborating on technical documentation.
>
> -Ted.

Re: New iBATIS Documentation Format

Posted by Ted Husted <hu...@apache.org>.
On 10/4/06, Ted Husted <hu...@apache.org> wrote:
> I'll try it again, but the last time I used XXE, I found it cumbersome
> and distracting. OO is at least unobstrusive.

I flipped back and forth between them for a while, and found each to
be inadequate in different ways. I continued to be amazed at the lack
of  adequate tools for collaborating on technical documentation.

-Ted.

Re: New iBATIS Documentation Format

Posted by Brandon Goodin <br...@gmail.com>.
I will echo Ted's sentiment... I used XXE in the past for docbook and I
found it to be cumbersome as well. I ultimately wound up editing the docbook
by hand. Granted this was over a year ago that i did this. So, I'm assuming
XXE docbook support has improved. I'll dowload XXE and give it a whirl.

Brandon

On 10/4/06, Ted Husted <hu...@apache.org> wrote:
>
> On 10/3/06, Clinton Begin <cl...@gmail.com> wrote:
> > I don't think Brandon was suggesting we continue to use OOo with
> DocBook.  I
> > can attest to the poor quality of the DocBook output from OOo....
> >
> > But it's a good way to start.  We can export to DocBook, then clean it
> up (a
> > lot).  From that point on, we use XXE or a text editor...
>
> I'll try it again, but the last time I used XXE, I found it cumbersome
> and distracting. OO is at least unobstrusive.
>
> Personally, I like the way the Struts 2 documentation is heading.
>
> * http://cwiki.apache.org/WW/home.html
>
> The focus is on short guides, FAQs, and reference material that work
> well in an online format. As a printed book, it would totally suck,
> but as an online guide, it's great. The best part is that we are able
> to single-source a lot of material from the JavaDocs and sample
> applications using a Confluence macro. The system clips snippets from
> the source material into the page, like a live cut and paste. All the
> material in tag guides is being sucked in from the JavaDocs.
>
> * http://cwiki.apache.org/WW/tag-reference.html
>
> The autoexport macro is also working well for us, and some people are
> working on some very attractive templates to dress up the HTML. For
> the distribution, we just bundle in a snapshot of the HTML export.
> Click. Done.
>
> Realistically, any future contributions I would make will probably be
> via Confluence anyway, so I'll stay out of the DocBook discussions.
>
> -Ted.
>

Re: New iBATIS Documentation Format

Posted by Ted Husted <hu...@apache.org>.
On 10/3/06, Clinton Begin <cl...@gmail.com> wrote:
> I don't think Brandon was suggesting we continue to use OOo with DocBook.  I
> can attest to the poor quality of the DocBook output from OOo....
>
> But it's a good way to start.  We can export to DocBook, then clean it up (a
> lot).  From that point on, we use XXE or a text editor...

I'll try it again, but the last time I used XXE, I found it cumbersome
and distracting. OO is at least unobstrusive.

Personally, I like the way the Struts 2 documentation is heading.

* http://cwiki.apache.org/WW/home.html

The focus is on short guides, FAQs, and reference material that work
well in an online format. As a printed book, it would totally suck,
but as an online guide, it's great. The best part is that we are able
to single-source a lot of material from the JavaDocs and sample
applications using a Confluence macro. The system clips snippets from
the source material into the page, like a live cut and paste. All the
material in tag guides is being sucked in from the JavaDocs.

* http://cwiki.apache.org/WW/tag-reference.html

The autoexport macro is also working well for us, and some people are
working on some very attractive templates to dress up the HTML. For
the distribution, we just bundle in a snapshot of the HTML export.
Click. Done.

Realistically, any future contributions I would make will probably be
via Confluence anyway, so I'll stay out of the DocBook discussions.

-Ted.

Re: New iBATIS Documentation Format

Posted by Clinton Begin <cl...@gmail.com>.
I don't think Brandon was suggesting we continue to use OOo with DocBook.  I
can attest to the poor quality of the DocBook output from OOo....

But it's a good way to start.  We can export to DocBook, then clean it up (a
lot).  From that point on, we use XXE or a text editor...

Cheers,
Clinton

On 10/3/06, Ted Husted <hu...@apache.org> wrote:
>
> On 10/2/06, Clinton Begin <cl...@gmail.com> wrote:
> > DocBook -- currently the choice of iBATIS.NET documentation.  It excels
> at
> > "diffability" and multi-format including great PDF and HTML output.  But
> it
> > fails at ease of use / familiarity and therefore participation and quick
> > changes/deployment as well.  All other criteria are met but not
> exceeded.
>
> DocBook with OpenOffice seems like a fair option.
>
> One thing to watch is whether systems like XMLMind format the
> underlying content in the same way. We'd want to avoid unnecessary
> cruft on the checkins, so if everyone is OK with OpenOffice, that
> might make for the best default editor.
>
> The OO XML format is not the friendliest for a change log, since it
> doesn't wrap lines, but it does seem like the lesser of evils.
>
> DocBook is also compatible with systems like Maven and Forrest, should
> that ever come up.
>
> -Ted.
>

Re: New iBATIS Documentation Format

Posted by Ted Husted <hu...@apache.org>.
On 10/2/06, Clinton Begin <cl...@gmail.com> wrote:
> DocBook -- currently the choice of iBATIS.NET documentation.  It excels at
> "diffability" and multi-format including great PDF and HTML output.  But it
> fails at ease of use / familiarity and therefore participation and quick
> changes/deployment as well.  All other criteria are met but not exceeded.

DocBook with OpenOffice seems like a fair option.

One thing to watch is whether systems like XMLMind format the
underlying content in the same way. We'd want to avoid unnecessary
cruft on the checkins, so if everyone is OK with OpenOffice, that
might make for the best default editor.

The OO XML format is not the friendliest for a change log, since it
doesn't wrap lines, but it does seem like the lesser of evils.

DocBook is also compatible with systems like Maven and Forrest, should
that ever come up.

-Ted.