Jean,

See the XXE thread "allowed elements under 'info' not available". Jirka 
was cc'ed on this thread. This sounds like your problem.

http://www.xmlmind.com/pipermail/xmleditor-support/2008-April/006402.html

I also replied, but that was in May.

Cheers,

Brett

On 7/2/2008 9:03 AM, Jean Jordaan wrote:
> 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 <davep at dpawson.co.uk>
> 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
> 

Reply via email to