Skip to content

Documentation / @sw-file-lib/xml / xml-schema / WriteElementCallback

Type Alias: WriteElementCallback ​

ts
type WriteElementCallback = (name: string, writer: XmlWriter) => void;

Defined in: packages/xml/src/xml-schema/types.ts:113

Writes an XML element with the supplied tag name.

Parameters ​

ParameterType
namestring
writerXmlWriter

Returns ​

void