On 04/17/2006 09:06 AM, Larry Evans wrote:
On 04/17/2006 09:42 AM, Eric Niebler wrote:
Larry Evans wrote:
[snip]
When the header names are different, there's no such error. Isn't this
a bug?
Not a bug. Each <header> node must be unique. This is not like a C++
namespace. You can't re-open an XML node in another file.
OK, so I must have misunderstood the purpose of the name attribute of
<header name="...">. IOW, the value of name attribute is *not* the name
of the header file but something else. What should that something else be?
Never mind. I figured that all classes need to be surrounded by one
header, as follows:
<library-reference>
<header name="boost/test_doc/multiple_classes.hpp">
<xi:include href="A.xml"/>
<xi:include href="B.xml"/>
</header>
</library-reference>
where A.xml is:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE library PUBLIC "-//Boost//DTD BoostBook XML V1.0//EN"
"http://www.boost.org/tools/boostbook/dtd/boostbook.dtd"
>
<namespace name="boost">
<namespace name="test_doc">
<class name="A">
<purpose>Class A.
</purpose>
</class>
</namespace>
</namespace>
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Boost-docs mailing list
[email protected]
Unsubscribe and other administrative requests:
https://lists.sourceforge.net/lists/listinfo/boost-docs