Skip to content

Documentation / @imvu/chkn / parseTemplate

Function: parseTemplate() ​

ts
function parseTemplate(xml): TemplateDict;

Defined in: packages/chkn/src/template.ts:40

Parse template XML into its delta form: the document's root element is the single top-level key (normally Template), and deletion markers are kept as null.

Parameters ​

ParameterType
xmlstring

Returns ​

TemplateDict

Released under the MIT License.