Function: createXmlFile()
function createXmlFile(root: ids): {
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: ids;
schema: "ids-1.0/ids";
};
Create a ids-1.0/ids 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: ids;
schema: "ids-1.0/ids";
}
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: ids;
schema
schema: "ids-1.0/ids";