This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
RE: Customization causing a spurious"Error: no ID for constraint linkend" message
- From: David Cramer <dcramer at broadjump dot com>
- To: Dave Pawson <dpawson at nildram dot co dot uk>, Bob Stayton <bobs at caldera dot com>,docbook-apps at lists dot oasis-open dot org
- Date: Sun, 10 Nov 2002 11:54:31 -0600
- Subject: RE: DOCBOOK-APPS: Customization causing a spurious"Error: no ID for constraint linkend" message
Yes, that's exactly what I'm doing (version 1.1 with Saxon 6.5.2; See p. 490 of Mike Kay's book). Sorry I didn't mention it.
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
exclude-result-prefixes="doc"
version='1.1'>
I was just being lazy and not writing portable code--or for that matter pasting in and calling the template that Mike provides on p. 490 that would make it portable :) I should give it a try using version="1.0" and node-set(), perhaps version="1.1" has some side effect wrt xsl:key?
David
> -----Original Message-----
> From: Dave Pawson [mailto:dpawson@nildram.co.uk]
> Sent: Sunday, November 10, 2002 3:12 AM
> To: Bob Stayton; David Cramer; docbook-apps@lists.oasis-open.org
> Subject: Re: DOCBOOK-APPS: Customization causing a spurious "Error: no
> ID for constraint linkend" message
>
>
> At 01:12 10/11/2002, Bob Stayton wrote:
>
> >The line in question is:
> >
> > <xsl:for-each select="$current.nodeset/node()">
> >
> >Since $current.nodeset is created with a xsl:copy-of, it
> >is a result tree fragment. How come your processor doesn't
> >stumble on this?
>
> I use it regularly, with SAXON 6.5.2, setting version to 1.1
> Mike added this in preparation for xslt 1.1 which since died.
> It handy though, and will be valid again in xslt 2.0
>
> regards DaveP.
>
>
>