Next in thread → Next in month →

Re: [docbook-apps] Docbook XSL and RELAX NG documents

From
Jirka Kosek <>
Date
2004-12-17T10:40:13+00:00
ID
Thread
Re: [docbook-apps] Docbook XSL and RELAX NG documents
Matthew Burgess wrote:
> XRef to nonexistent id: ch-scripts-console
> Error: no ID for constraint linkend: ch-scatter-maillists.
> XRef to nonexistent id: ch-scatter-maillists
> 
> I've a feeling this too is namespace related, as the "id" attribute is 
> now namespace qualified, i.e. it's "xml:id".  Any ideas on solving this 
> one?  I took a quick look at xhtml/xref.xsl but couldn't see an 
> immediate way of fixing/hacking it.

Adding

<xsl:key name="id" match="*" use="@xml:id"/>

or

<xsl:key name="id" match="*" use="@*[local-name() = 'id']"/>

into your customization layer could help.

				Jirka

-- 
------------------------------------------------------------------
   Jirka Kosek     e-mail:      http://www.kosek.cz
------------------------------------------------------------------
   Profesionální školení a poradenství v oblasti technologií XML.
      Podívejte se na náš nově spuštěný web http://DocBook.cz
        Podrobný přehled školení http://xmlguru.cz/skoleni/
------------------------------------------------------------------
Next in thread → Next in month →