Re: [docbook-apps] Duplicate TOC Enries with WebHelp DocBook

2013-09-17 Thread Peter Desjardins
Searching for "cannot add @xml:base to node set root element" reveals this thread: https://lists.oasis-open.org/archives/docbook-apps/201305/msg00050.html Does that help? Peter On Tue, Sep 17, 2013 at 11:43 AM, Morgan Hayward wrote: > Hi Peter, > > Thanks for replying. The source DocBook XM

Re: [docbook-apps] Duplicate TOC Enries with WebHelp DocBook

2013-09-17 Thread Bob Stayton
The big clue is this message: Note: namesp. cut : stripped namespace before processing This indicates that a DocBook 5 document is being processed with the non-namespaced stylesheets. That requires the stylesheet to first run a an XSL process to strip the namespace from all the elements i

RE: [docbook-apps] Duplicate TOC Enries with WebHelp DocBook

2013-09-17 Thread Morgan Hayward
Thanks, Bob. I will try that first as it seems to be easiest thing to do right now. I'll let you know what happens. Thanks, Morgan -Original Message- From: Bob Stayton [mailto:b...@sagehill.net] Sent: September-17-13 12:42 PM To: Peter Desjardins; Morgan Hayward Cc: docbook-apps@lists

Re: [docbook-apps] Convert a relative file link to a URL in docbook

2013-09-17 Thread Bob Stayton
What a great idea. That looks to be very useful for a variety of purposes. Bob Stayton Sagehill Enterprises b...@sagehill.net -- From: "Jirka Kosek" Sent: Tuesday, September 17, 2013 2:33 AM To: Subject: Re: [docbook-apps] Convert a relative fil

RE: [docbook-apps] Duplicate TOC Enries with WebHelp DocBook

2013-09-17 Thread Morgan Hayward
That might be the cause of this problem. Thanks for your help. I'll follow the recommendations in that thread and e-mail back if the problem resurfaces. Regards, Morgan -Original Message- From: Peter Desjardins [mailto:peter.desjardins...@gmail.com] Sent: September-17-13 12:04 PM To:

RE: [docbook-apps] Duplicate TOC Enries with WebHelp DocBook

2013-09-17 Thread Morgan Hayward
Hi Peter, Thanks for replying. The source DocBook XML is not being changed during the build process and yes, we have confirmed the XML is valid DocBook XML. The source XML is also one large file at build time. One other clue I just stumbled upon is this. We always get the duplicate TOC entr

[docbook-apps] Duplicate TOC Enries with WebHelp DocBook

2013-09-17 Thread Morgan Hayward
Hi all, I'm using the WebHelp stylesheets in DocBook v1.78.0 to output an HTML version of my manual and something strange is happening. Occasionally, maybe once every three or four times I build the manual, the links in the TOC will appear twice. For instance: * Preface * Introdu

Re: [docbook-apps] Duplicate TOC Enries with WebHelp DocBook

2013-09-17 Thread Peter Desjardins
Is the source DocBook XML changing between the random occurrences of this error? Also, are you validating the source XML? I'm wondering why the stylesheets are trying to find the title of a code element. It sounds like you might be trying to process invalid DocBook XML. Have you broken the source

Re: [docbook-apps] Convert a relative file link to a URL in docbook

2013-09-17 Thread Jirka Kosek
On Mon, Sep 16, 2013, at 21:13, Natalie Kershaw wrote: > > > > http://prefix/', @xlink:href)"/> > > > > > > This seems to half-work in that it does prepend the prefix to the link > href, but then it does not convert the link element into FO. Bob already described, why i