OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook-apps] Re: xsl:attribute : node already has children

Actually, that message is indicating that you are using xref to a listitem
in a list *other than* an orderedlist. The generated text for an
orderedlist/listitem is the item number.  But what should the generated text
be for an itemizedlist/listitem?  A bullet?

You are right that the error message should be improved.  It should identify
the linkend that is having the problem.  If you wouldn't mind, could you
file a feature request so it gets tracked?

Bob Stayton
Sagehill Enterprises
DocBook Consulting

----- Original Message ----- 
From: "Sam Steingold" <sds@gnu.org>
To: <docbook-apps@lists.oasis-open.org>
Sent: Tuesday, November 16, 2004 9:13 AM
Subject: [docbook-apps] Re: xsl:attribute : node already has children

> > * Michael Smith <fzvgu@kzy-qbp.bet> [2004-11-17 01:56:48 +0900]:
> >
> > urp. Ignore the modified file I sent, then.
> ok.
> > As far as this bit:
> >
> >   Xref is only supported to listitems in an orderedlist:
> >
> > That seems to indicate you're trying to cross-reference an id in on
> > and orderedlist element -- <orderedlist id="foo"> and the stylesheets
> > are saying you can't do that -- that you need to instead
> > cross-reference <listitem id="bar">. Or you need to cross-reference
> > the section or para that contains your list.
> I still get this even when I remove all IDs from all <orderedlist>s.
> why doesn't xsltproc print the line number where the problem occurred?
> -- 
> Sam Steingold (http://www.podval.org/~sds) running w2k
> <http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
> <http://www.mideasttruth.com/> <http://www.honestreporting.com>
> Any programming language is at its best before it is implemented and used.

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]