Parsing prevents broken concatenation
The operation rejects malformed host or fragment input before insertion. It never performs placeholder expansion, templating, XInclude processing, or URL retrieval.
Select a parent element with the safe path subset, parse a standalone fragment, and insert it at an explicit child position in the local document tree.
Inputs are limited to 1 MiB and stay in this browser tab.
Nothing is placed in a URL, account, or remote log.
XML 1.0, bounded, and local
Insertion is structural rather than string concatenation. The host document and fragment are parsed independently, selected parents are bounded, and namespace conflicts must be resolved before serialization.
The operation rejects malformed host or fragment input before insertion. It never performs placeholder expansion, templating, XInclude processing, or URL retrieval.
A fragment can carry declarations or depend on a prefix. Inspect the output so every qualified name remains bound to the intended namespace after it enters the host tree.