* 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
| 1646 | * Returns a string or NULL if a memory allocation failed. |
| 1647 | */ |
| 1648 | xmlChar * |
| 1649 | xmlNodeListGetRawString(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 | |
| 1661 | static xmlAttrPtr |
nothing calls this directly
no test coverage detected