Re: [Libxmlplusplus-general] Multiple Node types
- From: murrayc t-online de (Murray Cumming)
- To: libxml++ <libxmlplusplus-general lists sourceforge net>
- Subject: Re: [Libxmlplusplus-general] Multiple Node types
- Date: 09 Dec 2002 22:00:53 +0100
On Mon, 2002-12-09 at 22:12, Christophe de Vienne wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Lundi 9 Décembre 2002 21:45, Murray Cumming wrote:
> >
> > I think that content() should do the reverse of set_content().
> > set_content() works, but content() doesn't so it should be fixed. I can
> > check that fix in if you like.
> >
>
> Agree on the set_content() and get_content() behavior. Please commit your fix.
> Moreover it get closer to the future behavior.
>
> Just one thing : what's happening is set_content/get_content are called on a
> text node ?
Hmm, set_content() would probably try to set the content of a child
node. I'll change it so that set_content() does nothing for a
name="text" node.
get_content() would just return the content, as expected.
--
Murray Cumming
murray usa net
www.murrayc.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]