[vsipl++] [patch] Document div, mul, and sub elementwise functions

Stefan Seefeld stefan at codesourcery.com
Wed Aug 6 14:26:43 UTC 2008


Jules Bergmann wrote:

>>> +  <title>Elementwise Functions</title>
>>>    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 
>>> href="add.xml" />
>>> +  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 
>>> href="div.xml" />
>>> +  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 
>>> href="mul.xml" />
>>> +  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 
>>> href="sub.xml" />
>>
>> I would suggest we put the namespace declaration (the 'xmlns:xi' 
>> attribute) into the root element of each xml file, so we don't need to 
>> repeat it each time we use xi:include.
> 
> Ok.  Is there an example of doing that for us XML neophytes?

tutorial/tutorial.xml does what I suggest.

Thanks,
		Stefan

-- 
Stefan Seefeld
CodeSourcery
stefan at codesourcery.com
(650) 331-3385 x718



More information about the vsipl++ mailing list