[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] olink: cannot collect ids with Oxygen?
Hi Monika, I'm not clear on how you are setting the parameter. I am able to use Oxygen 5.0 to set the parameter and run the collection process. What I did was: 1. Open the XML document. 2. Select Document ->Configure Transformation Scenario 3. New 4. Name it "CollectOnly", and select the html/chunk.xsl stylesheet file or your customization. 5. Select the Parameters button. 6. Click New. 7. Double-click under Name and type: collect.xref.targets 8. Double-click under Value and type: only 9. OK OK 10. Transform Now I get no output in the output window, and in the Warnings window I get "Writing target.db for book" When you process the document with the olink data, you will also need to set the 'target.database.document' parameter, as it is empty by default. Bob Stayton Sagehill Enterprises DocBook Consulting email@example.com ----- Original Message ----- From: "Monika Halfmann" <firstname.lastname@example.org> To: <email@example.com> Sent: Friday, December 10, 2004 4:44 AM Subject: [docbook-apps] olink: cannot collect ids with Oxygen? > Hello everybody! > > After struggling hard during the last days to learn XML, DocBook, XSL > and more, I have now reached a point where I can't get any further. > I'm using Oxygen 5.0 (the trial version at the moment) on Mac OS X > together with Saxon 6.5.3. > Versions of DocBook and XSL are 4.3 and 1.2. > > My documents are a book and at the moment via xinclude 5 chapter files > (with root element chapter) of which two should point to another > chapter. All files are valid and well-formed. According to "XSL - The > complete guide" I'm trying to set up the routine for olinks: the olink > tags are established, targetdoc-ids and targetptr-ids are set. > Now I'm trying to collect the id's for the target database with > collect.xref.targets=only. > > It seems that Oxygen/Saxon are just ignoring the parameter. The output > is html with the following warnings: > W Olinks not processed: must specify a $target.database.document > parameter null > W when using olinks with targetdoc and targetptr attributes. null > W Error: unresolved olink: targetdoc/targetptr = 'sich/sicherheit'. > null > W Olinks not processed: must specify a $target.database.document > parameter null > W when using olinks with targetdoc and targetptr attributes. null > W Error: unresolved olink: targetdoc/targetptr = 'zeich/frontmitmvb'. > null > > By the way, I've tried several variations of the parameter value in the > oxygen window for XSLT params: > --stringparam collect.xref.targets "only" > --stringparam collect.xref.targets="only" > --stringparam collect.xref.targets=only > collect.xref.targets="only" > collect.xref.targets "only" > collect.xref.targets=only > > All these variations are ignored. I've tried to use html/docbook.xsl > and html/chunk.xsl as stylesheets with the above variations for the > parameter. No success: output is still one or several html file(s) with > the above warnings. > The olink tags are residing in the following structures: > chapter 1: chapter/sect1/para/itemizedlist/listitem/para/olink > chapter 2: chapter/sect1/para/olink > > I've tried to run the collection of id's in the chapter files as well > as in the book file without success. > > Can anyone please tell me where the bug is? > > Thanks in advance for any help. > > Best wishes > Monika > > >