Function: createXmlFile()
function createXmlFile(root: VisualizationInfo): {
after?: (
| {
kind: "comment";
value: string;
}
| {
kind: "instruction";
target: string;
value: string;
})[];
before?: (
| {
kind: "comment";
value: string;
}
| {
kind: "instruction";
target: string;
value: string;
})[];
kind: "xml";
root: VisualizationInfo;
schema: "bcf-2.1/visinfo";
};
Create a bcf-2.1/visinfo XML document. Save validates it against the official XSD.
Parameters
root
Returns
{
after?: (
| {
kind: "comment";
value: string;
}
| {
kind: "instruction";
target: string;
value: string;
})[];
before?: (
| {
kind: "comment";
value: string;
}
| {
kind: "instruction";
target: string;
value: string;
})[];
kind: "xml";
root: VisualizationInfo;
schema: "bcf-2.1/visinfo";
}
after?
optional after?: (
| {
kind: "comment";
value: string;
}
| {
kind: "instruction";
target: string;
value: string;
})[];
before?
optional before?: (
| {
kind: "comment";
value: string;
}
| {
kind: "instruction";
target: string;
value: string;
})[];
kind
kind: "xml";
root
root: VisualizationInfo;
schema
schema: "bcf-2.1/visinfo";