I'm just exploring Drools for the first time, and I've never looked at a
rules engine before. I've read through all the documentation I can
find, but one thing (in particular) confuses me. I understood how the
actions work in the various DSLs, but one of the examples (the "house"
thing, I think) had conditions and actions that were entirely XML-based,
and didn't appear to use a DSL. I don't quite understand the semantics
of this, especially the actions. When you have a DSL-based action, the
semantics are clear, but I don't understand exactly what the following
actually does (from the house.drl file):
<house:actions>
<house:room name="lounge">
<house:heating>off</house:heating>
</house:room>
</house:actions>
Does this emit the "room" element in some output, or what exactly
happens?