mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-03-21 22:50:08 +03:00
Clarify xmlNewDocProp documentation
This commit is contained in:
parent
a6e6498fb1
commit
ad101bb5b5
5
tree.c
5
tree.c
@ -2020,6 +2020,11 @@ xmlNewNsPropEatName(xmlNodePtr node, xmlNsPtr ns, xmlChar *name,
|
||||
* @value: the value of the attribute
|
||||
*
|
||||
* Create a new property carried by a document.
|
||||
* NOTE: @value is supposed to be a piece of XML CDATA, so it allows entity
|
||||
* references, but XML special chars need to be escaped first by using
|
||||
* xmlEncodeEntitiesReentrant(). Use xmlNewProp() if you don't need
|
||||
* entities support.
|
||||
*
|
||||
* Returns a pointer to the attribute
|
||||
*/
|
||||
xmlAttrPtr
|
||||
|
Loading…
x
Reference in New Issue
Block a user