Hi there

According to Dave Pawson, it should be OK to have 'info' as a child of
'book'. XXE doesn't allow it, though. This is with this kind of doc:

<book version="5.0" xmlns="http://docbook.org/ns/docbook";
xmlns:xlink="http://www.w3.org/1999/xlink";
xmlns:xi="http://www.w3.org/2001/XInclude";
xmlns:svg="http://www.w3.org/2000/svg";
xmlns:m="http://www.w3.org/1998/Math/MathML";
xmlns:html="http://www.w3.org/1999/xhtml";
xmlns:db="http://docbook.org/ns/docbook";>

---------- Forwarded message ----------
From: Dave Pawson <[email protected]>
Date: Wed, Jul 2, 2008 at 8:52 PM
Subject: Re: [docbook-apps] Why doesn't book alllow info?
To: Jean Jordaan <jean.jordaan at gmail.com>


Jean Jordaan wrote:
>
> Hi there
>
> At http://www.docbook.org/docs/howto/
> I see 'info' listed as a replacement for 'bookinfo' among others.
>
> However at http://www.docbook.org/tdg5/en/html/titlereq.info.html
> the allowed parents of 'info' do not include 'book'. Also XMLMind
> Editor doesn't allow 'info' in 'book'.
> The info about a book is different from that about the preface or a
> chapter. So how to do the equivalent of 'bookinfo'?


I'm using the 5.0 schema and info validates as first child
of book.

<book xmlns="http://docbook.org/ns/docbook"; xml:lang='en-GB'
version="V5.0CR5"
xmlns:xlink="http://www.w3.org/1999/xlink";
xmlns:xi="http://www.w3.org/2001/XInclude";
>
<info>
<title></title>

etc




regards

--
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk



-- 
jean . .. .... //\\\oo///\\

Reply via email to