[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Xincludes and Peer Section Ordering
Did you add the xi:include element to the internal subset of the DTD? If so, how did you do so? It must be added to every content model in which you want to place an xi:include. Bob Stayton Sagehill Enterprises DocBook Consulting bobs@sagehill.net ----- Original Message ----- From: "Raymond" <support@bigriverinfotech.com> To: <docbook-apps@lists.oasis-open.org> Sent: Thursday, September 15, 2005 7:47 AM Subject: [docbook-apps] Xincludes and Peer Section Ordering > docbook-dtd-4.5CR1, docbook-xsl-1.69.1, jdk-1.5.0_4, kubuntu-5.04, oXygen-6.1, > saxon-6.5.4 > > Consider the following code fragement: > > <sect1 id="foo" xmlns:xi="&w3XInclude;" xml:base=""> > <title>Foo</title> > <sect2> > <title>Bar1</title> > <para>foo</para> > </sect2> > <xi:include href="file:///_foo_/Bar2.xml"> > <xi:fallback> > <simpara> > <emphasis role="strong">FIXME:</emphasis> MISSING > /_foo_/<emphasis>Bar2.xml</emphasis> XINCLUDE > CONTENT</simpara> > </xi:fallback> > </xi:include> > </sect1> > > the Xinclude'd fragement: > > <sect2 id="bar1" xmlns:xi="&w3XInclude;" xml:base=""> > ... > ... > </sect2> > > Why do the following validation error messages: > > Unexpected element "xi:include". > > and > > The content of element type "sect1" must match "(sect1info?, > (title,subtitle?,titleabbrev?),(toc|lot|index|glossary|bibliography)* ... > > occur ONLY when sect2 precedes the xinclude and not subsequent ??? > > Raymond > > --------------------------------------------------------------------- > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org > > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]