| Posted: 28 Oct 2006 16:33 | |
|
Registered User Currently Offline |
Posts: 2 Join Date: Oct 2006 |
|
Hi guys,
I used to work with eDE and customize it to my needs. I may need it for another project. Right now, I still see a serious problem on the editing part when the Docbook document is managed in smaller files (e.g.: chapters). How can technical writers easily add a valid external link? Can it be done by modifying the XML docbook file to become 'aware' of other chapters in the book and their links? Any other ideas? Thanks Fabrice |
|
| Posted: 29 Oct 2006 18:33 | |
|
Administrator |
Posts: 125 Join Date: Feb 2005 |
| If you want to add another layer of preprocessing, you could make them put a special tag into the XML source and then replace this tag by a valid link. This would require preprocessing the XML source before validating it. | |
| Posted: 07 Nov 2006 17:38 | |
|
Registered User Currently Offline |
Posts: 2 Join Date: Oct 2006 |
|
FYI: I am using the free version of XML Mind Editor and XML Spy.
Yes this is an option. I am not q00% sure I understood you so I take an example below. Let's say I work in chapter1.xml and I want to add an external link to chapter2.xml. Right now I have no way to do it because my XML editor is not aware of the possible target URI in other documents (in chapter 2, 3...). An option would be to wait and do it later after I processed all chapters into a single XML file. Option 2 is to have a bacth file which scans all chapters and creates an intermediate XML file with target URIs and the chapter they belong to. Then, another batch file with a simple XPath query could include in each chapter all external target URIs. using predifined entity and smart naming conventions. From there, the author would just need to point to the external target URI to add a link. So I guess I could try this out (will keep you posted if/when I have it done). Any other suggestions? Fabrice |
|