wed
Version:
Wed is a schema-aware editor for XML documents.
11 lines (10 loc) • 364 B
TypeScript
/**
* Serialize an XML tree. This serializer implements only as much as wed
* currently needs. Notably, this does not currently serialize comments, CDATA,
* or processing instructions.
*
* @param root The root of the document.
*
* @returns The serialized document.
*/
export declare function serialize(root: Element | Document | DocumentFragment): string;