> The problem w/ the first solution about creating a master article doc 
> is that There are <!DOCTYPE tags which aren't accepted in each 
> of the chapters. This isn't allowed in docbook. I have the above 
> done as you say, yet it seems to complain about a character that 
> is not allowed, so I'm guessing it's the ! from an imported 
> <!DOCTYPE tag from a chapter file. Though when I pulled that out, 
> still got the same message.
>
> The msg was ... 
>
> Cannot open file 
> file:/Users/dir/dir/dir/index.docb:
> Error in 
> file: /Users/dir/dir/dir/index.docb, line 5, column2: character now allowed 

With first solution, you have to edit your chapters to remove the
<!DOCTYPE>.

Some XXE users do that automatically using sed (batch text editor).



> And the problem w/ doing the 2nd solution was that w/ OSX, I can't get 
> another instance going by theFile|New menu items, it just replaces 
> the current instance w/ the selections.
>
> Did I do something wrong again?

Second solution is better for you. But there was a misunderstanding:

[1] Start XXE using the dock, desktop icon or whatever and load on of
your chapters into it.
[2] Start another XXE using the dock, desktop icon or whatever and load
the empty book template into it (using File|Open or File|New it depends
on how you have ``installed'' it).
[3] Copy the root chapter element from first XXE.
[4] Paste copied chapter to second XXE.

And so on until all your chapters have been copied to the book. After
that, save the book and no longer modify the chapter files: directly
edit the book.

PS: Situation is somewhat improved in XXE V2 (which can automatically
detect that a chapter is a docbook document fragment without needing any
<!DOCTYPE> and then automatically use the right DTD and CSS) but:
* XXE V2 does not yet run on MacOSX (which does not yet support Java
1.4).
* It is not yet the plug-and-play solution you need.

Reply via email to