[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [docbook] Re: DocBook 5.0: The Definitive Guide
I have the namespaces correct from what I could tell.. Here is a sample XML file: (I've removed all xi:include references too) ======================================================================= <book xmlns='http://docbook.org/docbook-ng' xmlns:xi='http://www.w3.org/2001/XInclude' xml:id="docbook"> <?dbhtml filename="xmldocumentation.html"?> <part id="deliver-information"> <?dbhtml filename="part4.html"?> <title>Manage Information</title> </part> </book> When I run it against the docbook.xsl, things work well: ========================================================= $ xsltproc.exe ../docbook/docbook-xsl-1.67.2/html/docbook.xsl ../myBook/rajal.xml <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title></title><meta name="generator " content="DocBook XSL Stylesheets V1.67.2"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" ali nk="#0000FF"><div class="book" lang="en"><div class="titlepage"><hr></div><div class="toc"><p><b>Table of Contents</b></ p><dl><dt><span class="part"><a href="#deliver-information">I. Manage Information</a></span></dt></dl></div><div class=" part" lang="en"><div class="titlepage"><div><div><h1 class="title"><a name="deliver-information"></a>Manage Information< /h1></div></div></div></div></div></body></html> When I run it against the chunk.xsl, I get: ============================================ $ xsltproc.exe ../docbook/docbook-xsl-1.67.2/html/chunk.xsl ../myBook/rajal No template matches book. No template matches part in book. No template matches title in part. <font color="red"><book> <font color="red"><part> <font color="red"><title>Manage Information</title></font> </part></font> </book></font> -- Rajal -----Original Message----- From: Norman Walsh [mailto:ndw@nwalsh.com] Sent: Wednesday, January 05, 2005 6:26 AM To: Rajal Shah Cc: docbook@lists.oasis-open.org Subject: [docbook] Re: DocBook 5.0: The Definitive Guide / "Rajal Shah" <rajal@meshsoftware.com> was heard to say: | I've switched over to use the latest docbook.rnc in an effort to try it | out.. | | I've run into 2 issues: | Issue 1: | ========= | I can't seem to run the existing docbook-xsl (1.67.2) on it anymore.. It | can't find any template matches.. | | $ xsltproc --xinclude ../docbook/docbook-xsl-1.67.2/html/chunk.xsl | ../myBook/book.xml | No template matches book. | No template matches chapter in book. | No template matches title in chapter. | No template matches sect1 in chapter. | No template matches title in sect1. | No template matches para in sect1. | No template matches sect2 in sect1. That's odd. Are you sure you've got the right namespace? | Issue 2: | ========= | I can't seem to get nxml-mode in emacs to show be the valid tag completions, | that helped me get a list of valid tags at that point in the doc, earlier. | | Any ideas? No. It works for me. Are you sure you have the right schema associated with the buffer? Be seeing you, norm -- Norman Walsh <ndw@nwalsh.com> | Everything should be made as http://www.oasis-open.org/docbook/ | simple as possible, but no simpler. Chair, DocBook Technical Committee |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]