This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: no ID for linkend
- From: Daniel Veillard <veillard at redhat dot com>
- To: Gabor Hojtsy <goba at php dot net>
- Cc: DocBook list <docbook-apps at lists dot oasis-open dot org>, phpdoc at lists dot php dot net
- Date: Sat, 28 Dec 2002 05:29:44 -0500
- Subject: Re: DOCBOOK-APPS: no ID for linkend
- References: <007001c2ad18$3d2e4ca0$3bc14d3e@mia>
- Reply-to: veillard at redhat dot com
On Thu, Dec 26, 2002 at 08:51:52PM +0100, Gabor Hojtsy wrote:
> Hi!
>
> I just tried to build a CHM out of the PHP Documentation sources
> using xsltproc, and I keep getting:
>
> | Error: no ID for constraint linkend: funcref.
> | Error: no ID for constraint linkend: langref.
> | Error: no ID for constraint linkend: features.
> | Error: no ID for constraint linkend: appendixes.
> | Error: no ID for constraint linkend: language.basic-syntax.phpmode.
> | ...
>
> While the IDs are there of course. If I add any XML node with
> any of these IDs, xsltproc first says I have duplicate IDs, and
> then in the next step of the process says, there is no ID for
> constraint linkend...
First are you using the latest versions of libxml2 and libxslt ?
I have fixed such a problem a couple of releases ago.
ftp://ftp.rpmfind.net/pub/libxml/
Current is libxml2-2.4.30 and libxslt-1.0.23
Second, the XSLT stylesheets do not use the ID attribute properties
anymore to locate the linkend, but a key based on //*[@id] as I
discovered while debugging the previous problem.
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/