* 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. */
| 708 | * Returns A newly allocated string with the substitution done. |
| 709 | */ |
| 710 | xmlChar * |
| 711 | xmlEncodeAttributeEntities(xmlDocPtr doc, const xmlChar *input) { |
| 712 | return xmlEncodeEntitiesInternal(doc, input, 1); |
| 713 | } |
| 714 | |
| 715 | /** |
| 716 | * xmlEncodeEntitiesReentrant: |
no test coverage detected