$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
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
>{
>private:
> xmlNodePtr node_;
>};
>[snip]
>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.
Regards,
Reece
_________________________________________________________________
Find a cheaper internet access deal - choose one to suit you.
http://www.msn.co.uk/internetaccess