If you delete the book's "title" you can replace it with "info" and there is no problem then (see attached). I forget why this is the case - but it can be done this way.
Regards, Mary Anne -----Original Message----- From: [email protected] [mailto:xmleditor-support-bounces at xmlmind.com] On Behalf Of Jean Jordaan Sent: Wednesday, July 02, 2008 9:03 AM To: xmleditor-support at xmlmind.com Subject: [XXE] Fwd: [docbook-apps] Why doesn't book alllow info? 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///\\ -- XMLmind XML Editor Support List xmleditor-support at xmlmind.com http://www.xmlmind.com/mailman/listinfo/xmleditor-support -------------- next part -------------- A non-text attachment was scrubbed... Name: BookSample.xml Type: text/xml Size: 776 bytes Desc: not available Url : http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20080702/f36ad496/attachment.xml

