Phantasmal Site > Phantasmal API > API Listing > serialize_to_dtd
API Function: serialize_to_dtd
- Summary:
- take DTD-parsed data and convert it to UNQ text
- Defined In LPC Object:
- /usr/common/obj/unq_dtd.c
- Prototype:
- string serialize_to_dtd(mixed *unq_dtd_data)
- Can Be Called By:
- Anybody
- Description:
-
Reverses the process of parse_to_dtd and converts the structure
described in that help entry to UNQ text. The UNQ text could
then be parsed again to get the DTD data back, if one wished.
- Return Value:
-
The UNQ text data, in string form.
- Errors:
- Errors occur only if malformed DTD data is passed in.
- See Also:
- parse_to_dtd
|