Re: [xslt] Problem
- From: John Fleck <jfleck inkstain net>
- To: xslt gnome org
- Subject: Re: [xslt] Problem
- Date: 27 Apr 2003 19:35:05 -0600
Niklas -
Your document is not valid docbook. Have you tried to validate it using
xmllint?
For example, this is incorrect:
*************
<listitem>
A descriptive <quote>project model</quote> for the FreeBSD
Project
</listitem>
************
Should be:
***********
<listitem>
<para>A descriptive <quote>project model</quote> for the FreeBSD
Project</para>
</listitem>
***********
As another example, "url" is the correct attribute for a ulink, not
link.
You have biblioentries that aren't in a bibliography.
The list goes on.
For xsltproc to do the transformation correctly, you have to have valid
docbook.
xmllint --noout --valid --noent oppgave.xml will show you the many
docbook validity errors.
Cheers,
John
On Sun, 2003-04-27 at 18:04, Niklas Saers Mailinglistaccount wrote:
> Dear sirs,
>
> For the Docbook XML found in http://niklas.saers.com/thesis/xml.tar.gz I
> get the following errors when doing a
> xsltproc --catalogs custom.xsl oppgave.xml > index.html
>
> No template for "/book/chapter/section/para" (or any of its leaves) exists
> in the context named "title" in the "en" localization.
> No template for "/book/chapter/section/para" (or any of its leaves) exists
> in the context named "title" in the "en" localization.
> No template for "/book/chapter/section/para" (or any of its leaves) exists
> in the context named "title" in the "en" localization.
>
> I'm handing in my masters thesis in two days and all the sudden xsltproc
> has started giving me these warnings. I have no idea what it is referring
> to (I'm fairly certain I don't have a book, followed by a chapter,
> asection, a para element within a title element) so I'm asking for your
> help. I've just finished proofreading it and I'm worried that some text is
> not presented because of this error.
>
> I have run xsltproc with --verbose, but I cannot find out from it
> what the problems are. It's output is in
> http://niklas.saers.com/thesis/warn.gz
>
> Would you be so kind as to suggest what may be causing this?
>
> Sincerely yours
>
> Niklas Saers
> _______________________________________________
> xslt mailing list, project page http://xmlsoft.org/XSLT/
> xslt@gnome.org
> http://mail.gnome.org/mailman/listinfo/xslt
--
John Fleck
jfleck@inkstain.net (h) jfleck@abqjournal.com (w)
http://www.inkstain.net http://www.abqjournal.com
http://www.gnome.org/learn/users-guide/latest/
"Not only isn't reality real - it's an illusion created by unreal people to
sell real people unnecesary cars." - Griffy
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]