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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

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


Subject: [docbook] xsltproc doesn't work when book's namespace specified



Hi,

I'm new to DocBook.
Let's say I have a simple xml docbook file:
<?xml version="1.0" encoding="utf-8"?>
<book version="5.0">
  <info>
    <title>Simple Book</title>
    <titleabbrev>Simple</titleabbrev>
  </info>
  ...
</book>

Everything works fine with this one but if I add the xmlns attribute for the
book, like this:
<?xml version="1.0" encoding="utf-8"?>
<book xmlns="http://docbook.org/ns/docbook";
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
      version="5.0">
  <info>
    <title>Simple Book</title>
    <titleabbrev>Simple</titleabbrev>
  </info>
  ...
</book>

I end up with xsltproc producing such output for any transformation:
Request for title of element with no title: book
No template matches book.
No template matches info in book.
No template matches author in info.
No template matches personname in author.
No template matches title in info.
No template matches titleabbrev in info.
No template matches preface in book.
No template matches title in preface.
No template matches para in preface.
No template matches chapter in book.
No template matches title in chapter.
No template matches para in chapter.
No template matches chapter in book.
No template matches title in chapter.
No template matches para in chapter.

How can I specify the namespace and keep xsltproc recognize the elements?
-- 
View this message in context: http://www.nabble.com/xsltproc-doesn%27t-work-when-book%27s-namespace-specified-tf4832056.html#a13824392
Sent from the docbook General mailing list archive at Nabble.com.



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