Boost logo

Boost :

From: Reece Dunn (msclrhd_at_[hidden])
Date: 2003-06-13 15:19:20

Hamish Mackenzie wrote:

>How do you feel about having a node_reference instead.

What are the access differences? I.e. could you use '.' to access
attributes/methods as opposed to '->'?

>// libxml2
>class node_reference
> xmlNodePtr node_;

>boost::xml::dom::node_reference mynode = doc.selectNode( "/h:*[1]" );

I am not that bothered *how* it is implemented, so long as it provides a
decent enough interface.

I was also showing how you could make it more portable by not explicitly
using a
   Document * doc = ...;
style code fragment.


Find a cheaper internet access deal - choose one to suit you.

Boost list run by bdawes at, gregod at, cpdaniel at, john at