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

Function xmlEncodeAttributeEntities

ThirdParty/libxml2/vtklibxml2/entities.c:710–713  ·  view source on GitHub ↗

* xmlEncodeAttributeEntities: * @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 for * attribute values. * * Returns A newly allocated string with the substitution done. */

Source from the content-addressed store, hash-verified

708 * Returns A newly allocated string with the substitution done.
709 */
710xmlChar *
711xmlEncodeAttributeEntities(xmlDocPtr doc, const xmlChar *input) {
712 return xmlEncodeEntitiesInternal(doc, input, 1);
713}
714
715/**
716 * xmlEncodeEntitiesReentrant:

Callers 1

Calls 1

Tested by

no test coverage detected