Re: [xml] Can xmlNodeGetContent() return NULL?

2018-03-05 Thread Daniel Veillard
On Thu, Feb 22, 2018 at 09:50:37AM +0200, Dave Ohlsson wrote:
> Hi,
> 
> See this link:
> https://stackoverflow.com/questions/48901026/can-xmlnodegetcontent-return-null
> 
> Any help from this mailing list?

  yes it can return NULL, for example with an PI node with no content.

Daniel

> -- dave

> ___
> xml mailing list, project page  http://xmlsoft.org/
> xml@gnome.org
> https://mail.gnome.org/mailman/listinfo/xml


-- 
Daniel Veillard  | Red Hat Developers Tools http://developer.redhat.com/
veill...@redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | virtualization library  http://libvirt.org/
___
xml mailing list, project page  http://xmlsoft.org/
xml@gnome.org
https://mail.gnome.org/mailman/listinfo/xml


[xml] Can xmlNodeGetContent() return NULL?

2018-02-21 Thread Dave Ohlsson
Hi,

See this link:
https://stackoverflow.com/questions/48901026/can-xmlnodegetcontent-return-null

Any help from this mailing list?

-- dave
___
xml mailing list, project page  http://xmlsoft.org/
xml@gnome.org
https://mail.gnome.org/mailman/listinfo/xml