15. A memory device storing instructions that when executed cause a hardware processor to perform operations, the operations comprising: storing a hybrid markup language document; determining a partition boundary in the hybrid markup language document; generating a copy of the hybrid markup language document in response to the partition boundary; discarding content in the copy of the hybrid markup language document that precedes the partition boundary; and generating an output markup language document from remaining content occurring in the copy of the hybrid markup language document after the partition boundary.
17. The memory device of claim 15 , wherein the operations further comprise generating a stack associated with the hybrid markup language document.