Re: [Libxmlplusplus-general] How to get Attributes from a Node?
- From: murrayc t-online de (Murray Cumming)
- To: libxml++ <libxmlplusplus-general lists sourceforge net>
- Subject: Re: [Libxmlplusplus-general] How to get Attributes from a Node?
- Date: 04 Jan 2003 12:29:01 +0100
On Sat, 2003-01-04 at 12:28, Jone Marius Vignes wrote:
> On Saturday 04 January 2003 11:24, Murray Cumming wrote:
> > On Fri, 2003-01-03 at 21:39, Jone Marius Vignes wrote:
> > > After upgrading to 0.1.7 it seems that the only way to get hold of the
> > > Attributes of a Node is by creating a new Node. Is this correct?
> > > Have a nice day!
> > > Jone Marius Vignes
> >
> > What's wrong with Node::attributes()?
>
> I can only find Element::attributes() or Element::get_attribute(string).
Oh, this is the cvs version then.
> The
> problem being that I can't access Element methods from the Node superclass,
So dynamic_cast<> to the Element, like in the dom_parser example. Not
all node-types support elements.
> and the only way to get an Element from a Node seems to be by adding a new
> Node to it.
That makes no sense.
--
Murray Cumming
murray usa net
www.murrayc.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]