html::treebuilderでxmlパースしてたらなにもかえってこなくなった。

$root->ignore_unknown(value)

This attribute controls whether unknown tags should be represented as elements in the parse tree, or whether they should be ignored. Default is true (to ignore unknown tags.)

falseにするとふつうにあつかえる。
でもこれonにしてなくて動いてた気がするんだけどなー。モジュールのバージョンちがいとかなのかな。