Module loki_xml_splitter

loki_xml_splitter - Splits XML into parseable chunks.

Description

loki_xml_splitter - Splits XML into parseable chunks

Function Index

split_by_tag/2Split XML by specific tag using regex.
split_fixed/2Split XML into fixed-size chunks with boundary reconstruction.
validate_chunk/1Validate that a chunk is well-formed XML.

Function Details

split_by_tag/2

split_by_tag(Binary::binary(), Tag::binary()) -> {ok, [binary()]} | {error, term()}

Split XML by specific tag using regex

split_fixed/2

split_fixed(Binary::binary(), ChunkSize::pos_integer()) -> {ok, [binary()]}

Split XML into fixed-size chunks with boundary reconstruction

validate_chunk/1

validate_chunk(Chunk::binary()) -> boolean()

Validate that a chunk is well-formed XML


Generated by EDoc