[xml] xmlNewTextChild without parent parameter
- From: "Tony Baldarelli" <tbaldarelli wmsvision com>
- To: <xml gnome org>
- Subject: [xml] xmlNewTextChild without parent parameter
- Date: Wed, 3 Mar 2004 15:39:23 -0500
Hello,
We need to create a text node. Right now we are using xmlNewText, which
does not require knowledge of the parent node. The problem is that it does
not seem the reserved XML characters ( such as the ampersand ) are
automatically replaced by their XML escaped entity representations.
xmlNewTextChild does do this, but requires the parent node. Are there any
functions that just simply create a text node ( like xmlNewText ) with the
XML reserved characters escaped ( like xmlNewTextChild )? I could not find
any in the documentation or archive. Thanks.
Tony Baldarelli
Programmer/Analyst
wmsVision, Inc.
1016 Copeland Oak Drive
Morrisville, NC 27560
USA
(919) 863-3388 ext 224
tbaldarelli wmsvision com <mailto:tbaldarelli wmsvision com>
<http://www.wmsVision.com>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]