[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#612997: blends-doc: Please convert SGML to DocBook XML



On Sat, Feb 12, 2011 at 05:33:29PM +0900, Osamu Aoki wrote:
> Hi,
> 
> I have not made much of multiple XML.
> 
> Google may be our friend :-) "XInclude xmllint"
> 
> http://mail.gnome.org/archives/xml/2003-May/msg00173.html

Well, tweaking the xmllint options does not change much.  I tried to
understand but failed.  Is there any working example where some main
page includes some chapters in separate xml files?  Any help would
be welcome (even a hint where asking might have reasonable chances
for good answers).

Kind regards

    Andreas.
  
> On Sat, Feb 12, 2011 at 08:57:44AM +0100, Andreas Tille wrote:
> ...
> > The conversion process turns this into
> > 
> > <xi:include href="introduction.dbk" xmlns:xi="http://www.w3.org/2003/XInclude"/>
> > 
> > If I check this via
> > 
> > $ xmllint --valid --noout index.xml
> 
> Why not use "--xinclude" here.
> 
> > index.dbk:76: element include: validity error : No declaration for attribute xmlns:xi of element include
> > <xi:include href="introduction.dbk" xmlns:xi="http://www.w3.org/2003/XInclude"/>
> V>                                                                               ^
> > ...
> > 
> > So I wonder what might be the proper statement to include the parts
> > of the document.  Any help is welcome.
> 
> man xmllint say:
> 
>        --xinclude
>               Do XInclude processing.
> 
> 
> 
> 

-- 
http://fam-tille.de



Reply to: