Variable: createXs_pattern
const createXs_pattern: (attributes: Omit<Omit<Omit<Omit<... & ..., "id"> & {
id?: ... | ...;
} & {
[qualifiedName: `${(...)}:${(...)}`]: ... | ...;
}, "value" | "fixed"> & {
fixed?: string;
value: string;
} & {
[qualifiedName: `${string}:${string}`]: string | undefined;
}, "fixed"> & Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
}, "value"> & {
value: string;
} & Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
}, content:
| (
| string
| {
kind: "comment";
value: string;
}
| {
kind: "instruction";
target: string;
value: string;
}
| Xs_annotation)[]
| Xs_pattern$Children) => Xs_pattern & {
all: (parent?: {
attributes: Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
};
content: (
| string
| {
kind: "comment";
value: string;
}
| {
kind: "instruction";
target: string;
value: string;
}
| {
attributes: Record<string, ... | ...> & {
[qualifiedName: `${(...)}:${(...)}`]: ... | ...;
};
content: (string | XmlComment | XmlInstruction | GenericElement)[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
})[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
}) => Xs_pattern[];
descendants: (parent?: {
attributes: Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
};
content: (
| string
| {
kind: "comment";
value: string;
}
| {
kind: "instruction";
target: string;
value: string;
}
| {
attributes: Record<string, ... | ...> & {
[qualifiedName: `${(...)}:${(...)}`]: ... | ...;
};
content: (string | XmlComment | XmlInstruction | GenericElement)[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
})[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
}) => Xs_pattern[];
elementName: string;
from: (parent?: {
attributes: Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
};
content: (
| string
| {
kind: "comment";
value: string;
}
| {
kind: "instruction";
target: string;
value: string;
}
| {
attributes: Record<string, ... | ...> & {
[qualifiedName: `${(...)}:${(...)}`]: ... | ...;
};
content: (string | XmlComment | XmlInstruction | GenericElement)[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
})[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
}) => Xs_pattern | undefined;
is: (element?: {
attributes: Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
};
content: (
| string
| {
kind: "comment";
value: string;
}
| {
kind: "instruction";
target: string;
value: string;
}
| {
attributes: Record<string, ... | ...> & {
[qualifiedName: `${(...)}:${(...)}`]: ... | ...;
};
content: (string | XmlComment | XmlInstruction | GenericElement)[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
})[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
}) => element is Xs_pattern;
namespaceURI: string;
} & {
defaults: Partial<Omit<Omit<Omit<Omit<..., ...> & {
id?: ...;
} & {
[qualifiedName: ...]: ...;
}, "value" | "fixed"> & {
fixed?: string;
value: string;
} & {
[qualifiedName: `${string}:${string}`]: string | undefined;
}, "fixed"> & Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
}, "value"> & {
value: string;
} & Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
}>;
read(element?: {
attributes: Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
};
content: (
| string
| {
kind: "comment";
value: string;
}
| {
kind: "instruction";
target: string;
value: string;
}
| {
attributes: Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
};
content: (string | XmlComment | XmlInstruction | GenericElement)[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
})[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
}):
| {
attributes: Omit<Omit<Omit<... & ... & ..., ... | ...> & {
fixed?: ... | ...;
value: string;
} & {
[qualifiedName: `${(...)}:${(...)}`]: ... | ...;
}, "fixed"> & Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
}, "value"> & {
value: string;
} & Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
};
children: {
annotation: Xs_annotation;
};
}
| undefined;
update(element: Xs_pattern, attributes: Partial<E["attributes"]>, changes: Partial<F>): Xs_pattern;
};
Create/read the XML pattern element. Named children follow XSD order and occurrence constraints.
Type Declaration
all
all: (parent?: {
attributes: Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
};
content: (
| string
| {
kind: "comment";
value: string;
}
| {
kind: "instruction";
target: string;
value: string;
}
| {
attributes: Record<string, ... | ...> & {
[qualifiedName: `${(...)}:${(...)}`]: ... | ...;
};
content: (string | XmlComment | XmlInstruction | GenericElement)[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
})[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
}) => Xs_pattern[];
Parameters
parent?
attributes
Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
}
content
(
| string
| {
kind: "comment";
value: string;
}
| {
kind: "instruction";
target: string;
value: string;
}
| {
attributes: Record<string, ... | ...> & {
[qualifiedName: `${(...)}:${(...)}`]: ... | ...;
};
content: (string | XmlComment | XmlInstruction | GenericElement)[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
})[]
name
string
namespaces?
Record<string, string>
namespaceURI
string
prefix?
string
Returns
descendants
descendants: (parent?: {
attributes: Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
};
content: (
| string
| {
kind: "comment";
value: string;
}
| {
kind: "instruction";
target: string;
value: string;
}
| {
attributes: Record<string, ... | ...> & {
[qualifiedName: `${(...)}:${(...)}`]: ... | ...;
};
content: (string | XmlComment | XmlInstruction | GenericElement)[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
})[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
}) => Xs_pattern[];
Parameters
parent?
attributes
Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
}
content
(
| string
| {
kind: "comment";
value: string;
}
| {
kind: "instruction";
target: string;
value: string;
}
| {
attributes: Record<string, ... | ...> & {
[qualifiedName: `${(...)}:${(...)}`]: ... | ...;
};
content: (string | XmlComment | XmlInstruction | GenericElement)[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
})[]
name
string
namespaces?
Record<string, string>
namespaceURI
string
prefix?
string
Returns
elementName
elementName: string = definition.name;
from
from: (parent?: {
attributes: Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
};
content: (
| string
| {
kind: "comment";
value: string;
}
| {
kind: "instruction";
target: string;
value: string;
}
| {
attributes: Record<string, ... | ...> & {
[qualifiedName: `${(...)}:${(...)}`]: ... | ...;
};
content: (string | XmlComment | XmlInstruction | GenericElement)[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
})[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
}) => Xs_pattern | undefined;
Parameters
parent?
attributes
Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
}
content
(
| string
| {
kind: "comment";
value: string;
}
| {
kind: "instruction";
target: string;
value: string;
}
| {
attributes: Record<string, ... | ...> & {
[qualifiedName: `${(...)}:${(...)}`]: ... | ...;
};
content: (string | XmlComment | XmlInstruction | GenericElement)[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
})[]
name
string
namespaces?
Record<string, string>
namespaceURI
string
prefix?
string
Returns
Xs_pattern | undefined
is
is: (element?: {
attributes: Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
};
content: (
| string
| {
kind: "comment";
value: string;
}
| {
kind: "instruction";
target: string;
value: string;
}
| {
attributes: Record<string, ... | ...> & {
[qualifiedName: `${(...)}:${(...)}`]: ... | ...;
};
content: (string | XmlComment | XmlInstruction | GenericElement)[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
})[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
}) => element is Xs_pattern;
Parameters
element?
attributes
Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
}
content
(
| string
| {
kind: "comment";
value: string;
}
| {
kind: "instruction";
target: string;
value: string;
}
| {
attributes: Record<string, ... | ...> & {
[qualifiedName: `${(...)}:${(...)}`]: ... | ...;
};
content: (string | XmlComment | XmlInstruction | GenericElement)[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
})[]
name
string
namespaces?
Record<string, string>
namespaceURI
string
prefix?
string
Returns
element is Xs_pattern
namespaceURI
namespaceURI: string = definition.namespaceURI;
defaults
defaults: Partial<Omit<Omit<Omit<Omit<..., ...> & {
id?: ...;
} & {
[qualifiedName: ...]: ...;
}, "value" | "fixed"> & {
fixed?: string;
value: string;
} & {
[qualifiedName: `${string}:${string}`]: string | undefined;
}, "fixed"> & Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
}, "value"> & {
value: string;
} & Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
}>;
read()
read(element?: {
attributes: Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
};
content: (
| string
| {
kind: "comment";
value: string;
}
| {
kind: "instruction";
target: string;
value: string;
}
| {
attributes: Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
};
content: (string | XmlComment | XmlInstruction | GenericElement)[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
})[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
}):
| {
attributes: Omit<Omit<Omit<... & ... & ..., ... | ...> & {
fixed?: ... | ...;
value: string;
} & {
[qualifiedName: `${(...)}:${(...)}`]: ... | ...;
}, "fixed"> & Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
}, "value"> & {
value: string;
} & Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
};
children: {
annotation: Xs_annotation;
};
}
| undefined;
Parameters
element?
attributes
Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
}
content
(
| string
| {
kind: "comment";
value: string;
}
| {
kind: "instruction";
target: string;
value: string;
}
| {
attributes: Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
};
content: (string | XmlComment | XmlInstruction | GenericElement)[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
})[]
name
string
namespaces?
Record<string, string>
namespaceURI
string
prefix?
string
Returns
| {
attributes: Omit<Omit<Omit<... & ... & ..., ... | ...> & {
fixed?: ... | ...;
value: string;
} & {
[qualifiedName: `${(...)}:${(...)}`]: ... | ...;
}, "fixed"> & Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
}, "value"> & {
value: string;
} & Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
};
children: {
annotation: Xs_annotation;
};
}
| undefined
update()
update(
element: Xs_pattern,
attributes: Partial<E["attributes"]>,
changes: Partial<F>
): Xs_pattern;
Parameters
element
attributes
Partial<E["attributes"]>
changes
Partial<F>