Fix if-generation-match:0 for XML API