[xml] Problem using xmlUnlinkNode

2011-12-27 Thread John J. Boyer
I need to delete some nodes from a parse tree. So I use xmlUnlinkNode and then xmlFree. However, when I output the tree with xmlDumpDoc the nodes are still there. What am I missing? Thanks, -- John J. Boyer; President, Chief Software Developer Abilitiessoft, Inc. http://www.abilitiessoft.com

[xml] Finding the encoding of an xml documentj.

2012-02-02 Thread John J. Boyer
How do I find the encoding of an xml document? My Braille transcription software requires UTF-8. Thanks, -- John J. Boyer; President, Chief Software Developer Abilitiessoft, Inc. http://www.abilitiessoft.com Madison, Wisconsin USA Developing software for people with disabilities

[xml] This code unlinks too much.

2012-02-04 Thread John J. Boyer
; } -- John J. Boyer; President, Chief Software Developer Abilitiessoft, Inc. http://www.abilitiessoft.com Madison, Wisconsin USA Developing software for people with disabilities ___ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org http

[xml] Possible bug in libxml2

2012-02-06 Thread John J. Boyer
, as described in thet post. I'm trying to find a workaround. Thanks, John -- John J. Boyer; President, Chief Software Developer Abilitiessoft, Inc. http://www.abilitiessoft.com Madison, Wisconsin USA Developing software for people with disabilities ___ xml

[xml] Sending error messages to a user function

2012-07-26 Thread John J. Boyer
In my program I want to send the error messages generated by libxml2 to a function that accepts NULL-terminatged strings. How can this be done? Thanks, John -- John J. Boyer; President, Chief Software Developer Abilitiessoft, Inc. http://www.abilitiessoft.com Madison, Wisconsin USA Developing

Re: [xml] Need help understanding customer error handlers

2012-08-13 Thread John J. Boyer
point me in the right direction as to what I'm missing. John Schember ___ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org https://mail.gnome.org/mailman/listinfo/xml -- John J. Boyer; President, Chief Software Developer

[xml] Omitting subtrees while parsing

2012-08-15 Thread John J. Boyer
In my library, liblouisutdml, I wish to parse an xml document and omit certain subtrees during the parsing process tather than deleting them afterwards. Is this possible? It could save a lot of memory. Thanks John -- John J. Boyer; President, Chief Software Developer Abilitiessoft, Inc. http

[xml] Adding a namespace to an existing document

2013-12-30 Thread John J. Boyer
I need to add a number of elements to existing doocuments with a namespace different from any in the document. I've looked at the namespace functions, but I can't see how to do this. Any suggestions will be greatly appreciated. John -- John J. Boyer; President, Chief Software Developer