Skip to main content

MAX_DEPTH

Constant MAX_DEPTH 

Source
pub const MAX_DEPTH: usize = kml::MAX_DEPTH; // 64usize
Expand description

The deepest the XML may nest its elements, as the KML reader’s bound (kml::MAX_DEPTH): roxmltree descends the tree on the stack, so the nesting is counted before the text is parsed. A track point’s extensions sit 5 deep (gpx, trk, trkseg, trkpt, extensions), an app’s own elements a few more.