MCPcopy Create free account
hub / github.com/Kitware/VTK / xmlNodeListGetRawString

Function xmlNodeListGetRawString

ThirdParty/libxml2/vtklibxml2/tree.c:1648–1658  ·  view source on GitHub ↗

* xmlNodeListGetRawString: * @doc: a document (optional) * @list: a node list of attribute children * @inLine: whether entity references are substituted * * Serializes attribute children (text and entity reference nodes) * into a string. * * If @inLine is true, entity references will be substituted. * Otherwise, entity references will be kept and special characters * like '&' will be

Source from the content-addressed store, hash-verified

1646 * Returns a string or NULL if a memory allocation failed.
1647 */
1648xmlChar *
1649xmlNodeListGetRawString(const xmlDoc *doc, const xmlNode *list, int inLine)
1650{
1651 int escMode = inLine ? 0 : 3;
1652
1653 /* backward compatibility */
1654 if (list == NULL)
1655 return(NULL);
1656
1657 return(xmlNodeListGetStringInternal((xmlDocPtr) doc, list, escMode));
1658}
1659#endif /* LIBXML_TREE_ENABLED */
1660
1661static xmlAttrPtr

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected