Skip to content

Instantly share code, notes, and snippets.

@AngelVI13
AngelVI13 / xml.zig
Last active June 11, 2023 11:22 — forked from Snektron/xml.zig
Zig xml parser (works with 0.10.1)
const std = @import("std");
const mem = std.mem;
const testing = std.testing;
const Allocator = mem.Allocator;
const ArenaAllocator = std.heap.ArenaAllocator;
const SegmentedList = std.SegmentedList;
pub const Attribute = struct {
name: []const u8,
value: []const u8