I'm trying to use std.xml, and I can't get it to work.
I tried the simplest program I could think of: import std.xml; import std.stdio; void main() {auto parser = new DocumentParser("<?xml version=\"1.0\" encoding=\"utf-8\"?><device></device>");
parser.onStartTag["device"] = (ElementParser parser) { writeln("device"); }; parser.parse(); } https://dpaste.dzfl.pl/262597d2fda6I used it before without any trouble. Is it somehow seriously broken? If not, what am I doing wrong?
Thanks, Mike