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

Function xmlEncodeEntitiesReentrant

ThirdParty/libxml2/vtklibxml2/entities.c:727–730  ·  view source on GitHub ↗

* xmlEncodeEntitiesReentrant: * @doc: the document containing the string * @input: A string to convert to XML. * * Do a global encoding of a string, replacing the predefined entities * and non ASCII values with their entities and CharRef counterparts. * Contrary to xmlEncodeEntities, this routine is reentrant, and result * must be deallocated. * * Returns A newly allocated string with t

Source from the content-addressed store, hash-verified

725 * Returns A newly allocated string with the substitution done.
726 */
727xmlChar *
728xmlEncodeEntitiesReentrant(xmlDocPtr doc, const xmlChar *input) {
729 return xmlEncodeEntitiesInternal(doc, input, 0);
730}
731
732/**
733 * xmlEncodeSpecialChars:

Callers 3

LIBXML_ATTR_FORMATFunction · 0.85
htmlNodeDumpFormatOutputFunction · 0.85

Calls 1

Tested by

no test coverage detected