@azure/core-xml
Version:
Core library for interacting with XML payloads
34 lines • 880 B
TypeScript
/**
* Default key used to access the XML attributes.
*/
export declare const XML_ATTRKEY = "$";
/**
* Default key used to access the XML value content.
*/
export declare const XML_CHARKEY = "_";
/**
* Options to govern behavior of xml parser and builder.
*/
export interface XmlOptions {
/**
* indicates the name of the root element in the resulting XML when building XML.
*/
rootName?: string;
/**
* indicates whether the root element is to be included or not in the output when parsing XML.
*/
includeRoot?: boolean;
/**
* key used to access the XML value content when parsing XML.
*/
xmlCharKey?: string;
/**
* property name for a CDATA section.
*/
cdataPropName?: string;
/**
* XML nodes to exclude from parsing.
*/
stopNodes?: string[];
}
//# sourceMappingURL=xml.common.d.ts.map