List Info

Thread: how to avoid the xmlns:xi on each include statement




how to avoid the xmlns:xi on each include statement
user name
2007-08-21 04:33:50
Hi all!

    I have the following dummy problem: I need to
<xi:include> lots of 
files into my manual.docbook however each line currently
looks as

<xi:include href="aboutdialoginfo.docbook" 
xmlnsi=&qu
ot;http://www
.w3.org/2001/XInclude"/>

is there a way I can avoid the xmlnsi
attribute ?
I have a big number of <xi:include> and it will be a
lot of redundancy 
if I must put the xmlnsi
attribute in each tag.

I have tried to put the xmlnsi
attribute at the root of my docbook 
element <book> but then xmllint complains it's not a
valid attribute for 
docbook DTD:

book: validity error : No declaration for attribute
xmlnsi of
element book

I am using the following command line for validation:

xmllint --xinclude --postvalid --noent --nonet --noout 
docbook/manual.docbook

Any hint?

Thanks!
Francesco


------------------------------------------------------------
---------
To unsubscribe, e-mail: docbook-unsubscribelists.oasis-open.org
For additional commands, e-mail: docbook-helplists.oasis-open.org


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )